db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r430467 - /db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java
Date Thu, 10 Aug 2006 18:11:47 GMT
Author: mikem
Date: Thu Aug 10 11:11:46 2006
New Revision: 430467

URL: http://svn.apache.org/viewvc?rev=430467&view=rev
Log:
DERBY-1660, submitted by Sunitha Kambhampati

This patch fixes the sql query used in the SYSCS_BULK_INSERT procedure to 
correctly use the optimizer hints using --DERBY-PROPERTIES clause instead of 
PROPERTIES.


Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java?rev=430467&r1=430466&r2=430467&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java Thu Aug
10 11:11:46 2006
@@ -1236,7 +1236,7 @@
 		String entityName = (schemaName == null ? tableName : schemaName + "." + tableName); 
 		String binsertSql = 
 			"insert into " + entityName +
-			" PROPERTIES insertMode=bulkInsert " +
+			" --DERBY-PROPERTIES insertMode=bulkInsert \n" +
 			"select * from new " + vtiName + 
 			"(" + 
 			"'" + schemaName + "'" + ", " + 



Mime
View raw message