db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r412863 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/MySqlBuilder.java
Date Thu, 08 Jun 2006 21:34:05 GMT
Author: tomdz
Date: Thu Jun  8 14:34:04 2006
New Revision: 412863

URL: http://svn.apache.org/viewvc?rev=412863&view=rev
Log:
Bugfix for the mysql platform

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/MySqlBuilder.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/MySqlBuilder.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/MySqlBuilder.java?rev=412863&r1=412862&r2=412863&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/MySqlBuilder.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/MySqlBuilder.java Thu Jun
 8 14:34:04 2006
@@ -224,7 +224,7 @@
                 change.apply(currentModel, getPlatform().isDelimitedIdentifierModeOn());
                 changeIt.remove();
             }
-            else
+            else if (change instanceof ColumnChange)
             {
                 // we gather all changed columns because we can use the ALTER TABLE MODIFY
COLUMN
                 // statement for them



Mime
View raw message