db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r409227 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyBuilder.java
Date Wed, 24 May 2006 18:36:48 GMT
Author: tomdz
Date: Wed May 24 11:36:48 2006
New Revision: 409227

URL: http://svn.apache.org/viewvc?rev=409227&view=rev
Log:
Minor change for adding columns

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

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyBuilder.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyBuilder.java?rev=409227&r1=409226&r2=409227&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyBuilder.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/DerbyBuilder.java Wed May
24 11:36:48 2006
@@ -132,7 +132,7 @@
                 AddColumnChange addColumnChange = (AddColumnChange)change;
 
                 // Derby can only add not insert columns
-                if (addColumnChange.getNextColumn() == null)
+                if (addColumnChange.isAtEnd())
                 {
                     processChange(currentModel, desiredModel, addColumnChange);
                     change.apply(currentModel);



Mime
View raw message