You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2010/03/24 20:13:27 UTC
[jira] Updated: (DERBY-4068) Numeric arguments to
functions/parameters raise overflow condition in client/server
configuration.
[ https://issues.apache.org/jira/browse/DERBY-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Hillegas updated DERBY-4068:
---------------------------------
Attachment: derby-4068-01-aa-bindMistake.diff
Attaching derby-4068-01-aa-bindMistake.diff. This fixes the precision/scale problem which Knut identified. I need to run regression tests.
The precision and scale were defaulted early on during the bind() phase. This is another example of how type information can be lost as the compiler moves between the Java and SQL domains.
Touches the following files:
----
M java/engine/org/apache/derby/impl/sql/compile/SQLToJavaValueNode.java
A previous patch added the getDataType() method to JavaValueNode so that JavaValueNodes can retrieve SQL type information from the tree beneath them. This patch teaches another kind of JavaValueNode how to do this.
----
M java/testing/org/apache/derbyTesting/functionTests/tests/lang/AnsiSignaturesTest.java
Re-enables the running of this test in client-server mode since the defect is now fixed.
> 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: JDBC, Network Server
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Attachments: derby-4068-01-aa-bindMistake.diff, ScaleAndPrecision.java
>
>
> 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.