db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r546007 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/StaticMethodCallNode.java
Date Mon, 11 Jun 2007 05:05:40 GMT
Author: mamta
Date: Sun Jun 10 22:05:39 2007
New Revision: 546007

URL: http://svn.apache.org/viewvc?view=rev&rev=546007
Log:
DERBY-2777
StaticMethodCallNode 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/StaticMethodCallNode.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/StaticMethodCallNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/StaticMethodCallNode.java?view=diff&rev=546007&r1=546006&r2=546007
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/StaticMethodCallNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/StaticMethodCallNode.java
Sun Jun 10 22:05:39 2007
@@ -634,12 +634,6 @@
 		  				pn = ((UnaryOperatorNode)sql2j.getSQLValueNode()).getParameterOperand();
 		  			else
 		  				pn = (ParameterNode) (sql2j.getSQLValueNode());
-					//collation of ? operand should be same as the current schema
-					pn.getTypeServices().setCollationDerivation(
-							StringDataValue.COLLATION_DERIVATION_IMPLICIT);
-					pn.getTypeServices().setCollationType(
-							getLanguageConnectionContext().getDefaultSchema()
-									.getCollationType());
 
 					// applicationParameterNumbers is only set up for a procedure.
 					int applicationParameterNumber = pn.getParameterNumber();



Mime
View raw message