db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r227518 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java
Date Thu, 04 Aug 2005 23:44:03 GMT
Author: djd
Date: Thu Aug  4 16:44:02 2005
New Revision: 227518

URL: http://svn.apache.org/viewcvs?rev=227518&view=rev
Log:
DERBY-488 Merge fix 227406 from 10.1 branch. Cast return from generated setWidth call to type
of field it will be stored in.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java?rev=227518&r1=227517&r2=227518&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java
Thu Aug  4 16:44:02 2005
@@ -600,6 +600,7 @@
 					mb.push(getTypeServices().getScale());
 					mb.push(true);
 					mb.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.VariableSizeDataValue, "setWidth",
ClassName.DataValueDescriptor, 3);
+					mb.cast(resultTypeName);
 				}
 			}
 



Mime
View raw message