db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r543499 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ValueNode.java
Date Fri, 01 Jun 2007 15:02:39 GMT
Author: djd
Date: Fri Jun  1 08:02:38 2007
New Revision: 543499

URL: http://svn.apache.org/viewvc?view=rev&rev=543499
Log:
Change ValueNode.setCollationUsingCompilationSchema() to use the getSchemaDescriptor() method
that does not fail if the schema does not exist, e.g. when preparing statements the current
user's schema and that schema does not exist. Fixes the failures in AuthenticationTest.

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ValueNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ValueNode.java?view=diff&rev=543499&r1=543498&r2=543499
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ValueNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ValueNode.java Fri Jun
 1 08:02:38 2007
@@ -257,7 +257,7 @@
 	protected void setCollationUsingCompilationSchema(int collationDerivation)
 	throws StandardException {
 		dataTypeServices.setCollationType(
-	    	     getSchemaDescriptor(null).getCollationType());
+	    	     getSchemaDescriptor(null, false).getCollationType());
 		dataTypeServices.setCollationDerivation(collationDerivation);
 	}
 



Mime
View raw message