You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by mi...@apache.org on 2006/08/10 20:11:47 UTC

svn commit: r430467 - /db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java

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 + "'" + ", " +