db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1028648 - /db/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java
Date Fri, 29 Oct 2010 08:50:43 GMT
Author: kahatlen
Date: Fri Oct 29 08:50:43 2010
New Revision: 1028648

URL: http://svn.apache.org/viewvc?rev=1028648&view=rev
Log:
DERBY-4866: Simplify SYSCS_BULK_INSERT with IdUtil.mkQualifiedName()

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=1028648&r1=1028647&r2=1028648&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 Fri Oct
29 08:50:43 2010
@@ -1629,11 +1629,7 @@ public class SystemProcedures  {
 
         // Use default schema if schemaName is null. This isn't consistent
         // with the other procedures, as they would fail if schema was null.
-        String entityName = IdUtil.normalToDelimited(tableName);
-        if (schemaName != null) {
-            entityName =
-                    IdUtil.normalToDelimited(schemaName) + "." + entityName;
-        }
+        String entityName = IdUtil.mkQualifiedName(schemaName, tableName);
 
 		String binsertSql = 
 			"insert into " + entityName +



Mime
View raw message