You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2006/01/01 21:22:06 UTC

svn commit: r360539 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyPlatform.java

Author: tomdz
Date: Sun Jan  1 12:22:03 2006
New Revision: 360539

URL: http://svn.apache.org/viewcvs?rev=360539&view=rev
Log:
Fixed bug that created the wrong connection url when creating a Derby database with parameters

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyPlatform.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyPlatform.java?rev=360539&r1=360538&r2=360539&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyPlatform.java Sun Jan  1 12:22:03 2006
@@ -81,7 +81,7 @@
                     Map.Entry entry = (Map.Entry)it.next();
 
                     // no need to specify create twice (and create=false wouldn't help anyway)
-                    if ("create".equalsIgnoreCase(entry.getKey().toString()))
+                    if (!"create".equalsIgnoreCase(entry.getKey().toString()))
                     {
                         creationUrl.append(";");
                         creationUrl.append(entry.getKey().toString());