db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r545629 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/UnaryArithmeticOperatorNode.java
Date Fri, 08 Jun 2007 21:16:49 GMT
Author: mamta
Date: Fri Jun  8 14:16:48 2007
New Revision: 545629

URL: http://svn.apache.org/viewvc?view=rev&rev=545629
Log:
DERBY-2777
Unary arithmetic operators "+","-","SQRT", "ABS/ABSVAL" only take numeric parameters and hence
no need to worry about collation information
on parameters to these operators.


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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/UnaryArithmeticOperatorNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/UnaryArithmeticOperatorNode.java?view=diff&rev=545629&r1=545628&r2=545629
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/UnaryArithmeticOperatorNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/UnaryArithmeticOperatorNode.java
Fri Jun  8 14:16:48 2007
@@ -253,9 +253,6 @@
 	public void setType(DataTypeDescriptor descriptor) throws StandardException
 	{
 		operand.setType(descriptor);
-		//collation of ? operand should be same as the compilation schema
-		operand.setCollationUsingCompilationSchema(
-				StringDataValue.COLLATION_DERIVATION_IMPLICIT);
 		super.setType(descriptor);
 		//Derby-582 add support for dynamic parameters for unary plus and minus
 		//Now that we know the type of this parameter node, we can do the



Mime
View raw message