db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r564790 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/SetSchemaConstantAction.java
Date Fri, 10 Aug 2007 22:39:52 GMT
Author: djd
Date: Fri Aug 10 15:39:49 2007
New Revision: 564790

URL: http://svn.apache.org/viewvc?view=rev&rev=564790
Log:
Pass the transaction into the getSchemaDescriptor() on a SetSchemaConstantAction.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/SetSchemaConstantAction.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/SetSchemaConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/SetSchemaConstantAction.java?view=diff&rev=564790&r1=564789&r2=564790
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/SetSchemaConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/SetSchemaConstantAction.java
Fri Aug 10 15:39:49 2007
@@ -118,8 +118,9 @@
 		{
 			thisSchemaName = lcc.getAuthorizationId();
 		}
-		// if schemaName is null, sd will be null and default schema will be used
-		SchemaDescriptor sd = dd.getSchemaDescriptor(thisSchemaName, null, true);
+
+                SchemaDescriptor sd = dd.getSchemaDescriptor(thisSchemaName,
+                        lcc.getTransactionExecute(), true);
 		lcc.setDefaultSchema(sd);
 	}
 }



Mime
View raw message