[ 
https://issues.apache.org/jira/browse/DERBY-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen updated DERBY-4068:
--------------------------------------

           Component/s:     (was: SQL)
                        Network Server
               Urgency: Normal
    Bug behavior facts: [Embedded/Client difference]

Triaged for 10.5.2. Changed component from SQL to Network Server, since there's 
no indication that the problem is in the SQL machinery, and flagged it as an 
embedded/client difference.

The exceptions are thrown by impl.drda.DDMWriter.writeBigDecimal():

            if (bigWholeIntegerLength > declaredWholeIntegerLength)
                        {
                                clearDdm ();
                throw new SQLException ("Overflow occurred during numeric data 
type conversion of \"" +
                                       b.toString() +
                                       "\".",
                                       "22003",
                                       -413);
                        }

(The code is not even internationalized. Ouch!)

> Numeric arguments to functions/parameters raise overflow condition in 
> client/server configuration.
> --------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4068
>                 URL: https://issues.apache.org/jira/browse/DERBY-4068
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>            Reporter: Rick Hillegas
>
> The test_numeric_BigDecimal_BigDecimal() and 
> test_decimal_BigDecimal_BigDecimal() test cases in AnsiSignaturesTest raise 
> overflow errors when run in client/server mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to