db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r546023 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/CastNode.java
Date Mon, 11 Jun 2007 06:10:34 GMT
Author: mamta
Date: Sun Jun 10 23:10:33 2007
New Revision: 546023

URL: http://svn.apache.org/viewvc?view=rev&rev=546023
Log:
DERBY-2777
CastNode was using current compilation schema's collation if there is a parameter involved.
Instead, let the parameter pick up it's
collation from it's context.


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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/CastNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/CastNode.java?view=diff&rev=546023&r1=546022&r2=546023
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/CastNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/CastNode.java Sun Jun
10 23:10:33 2007
@@ -802,12 +802,6 @@
 					throws StandardException
 	{
 		castOperand.setType(castTarget);
-		//collation of ? operand should be same as the current schema
-		castOperand.getTypeServices().setCollationDerivation(
-				StringDataValue.COLLATION_DERIVATION_IMPLICIT);
-		castOperand.getTypeServices().setCollationType(
-				getLanguageConnectionContext().getDefaultSchema()
-						.getCollationType());
 	}
 
 	/**



Mime
View raw message