db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r545950 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java
Date Sun, 10 Jun 2007 21:46:07 GMT
Author: mamta
Date: Sun Jun 10 14:46:07 2007
New Revision: 545950

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java?view=diff&rev=545950&r1=545949&r2=545950
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java
Sun Jun 10 14:46:07 2007
@@ -784,12 +784,6 @@
 		we generate the metadata info for the return parameter and reset the flag
 		in the compilercontext for future call statements*/
 		DataTypeDescriptor dts = DataTypeDescriptor.getSQLDataTypeDescriptor(typeName);
-		//collation of ? operand should be same as the current schema
-		dts.setCollationDerivation(
-				StringDataValue.COLLATION_DERIVATION_IMPLICIT);
-		dts.setCollationType(
-				getLanguageConnectionContext().getDefaultSchema()
-						.getCollationType());
 		if (getCompilerContext().getReturnParameterFlag()) {
 			getCompilerContext().getParameterTypes()[0] = dts;
 		}



Mime
View raw message