db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r545709 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/TimestampOperatorNode.java
Date Sat, 09 Jun 2007 08:08:14 GMT
Author: mamta
Date: Sat Jun  9 01:08:13 2007
New Revision: 545709

URL: http://svn.apache.org/viewvc?view=rev&rev=545709
Log:
DERBY-2777
Earlier checkins 543266 and 542646 were incorrectly trying to set collation for DATA and TIME
DataTypeDescriptors. With this checkin, I am
removing that code. Collation only applies to character string types. 


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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/TimestampOperatorNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/TimestampOperatorNode.java?view=diff&rev=545709&r1=545708&r2=545709
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/TimestampOperatorNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/TimestampOperatorNode.java
Sat Jun  9 01:08:13 2007
@@ -90,16 +90,10 @@
 		//Set the type if there is a parameter involved here 
 		if (leftOperand.requiresTypeFromContext()) {
 			leftOperand.setType(DataTypeDescriptor.getBuiltInDataTypeDescriptor( Types.DATE));
-			//collation of ? operand should be same as the compilation schema
-			leftOperand.setCollationUsingCompilationSchema(
-					StringDataValue.COLLATION_DERIVATION_IMPLICIT);
 		}
 		//Set the type if there is a parameter involved here 
 		if (rightOperand.requiresTypeFromContext()) {
 			rightOperand.setType(DataTypeDescriptor.getBuiltInDataTypeDescriptor( Types.TIME));
-			//collation of ? operand should be same as the compilation schema
-			rightOperand.setCollationUsingCompilationSchema(
-					StringDataValue.COLLATION_DERIVATION_IMPLICIT);
 		}
 
 		TypeId leftTypeId = leftOperand.getTypeId();



Mime
View raw message