Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-04-06 10:53:35 +0000
committerEike Stepper2013-04-06 10:53:57 +0000
commitf9e529b18c114b639aff4510bc1313c04171199e (patch)
tree815417e248389ecb6d7d2e8f50b18e7bf97b026b /plugins/org.eclipse.net4j.db.mysql
parent6e703893541443e59cab2ef3635591f78f17d7eb (diff)
downloadcdo-f9e529b18c114b639aff4510bc1313c04171199e.tar.gz
cdo-f9e529b18c114b639aff4510bc1313c04171199e.tar.xz
cdo-f9e529b18c114b639aff4510bc1313c04171199e.zip
[404047] DB-Migration from 4.1 to 4.2 failed drops/I20130406-0717
https://bugs.eclipse.org/bugs/show_bug.cgi?id=404047
Diffstat (limited to 'plugins/org.eclipse.net4j.db.mysql')
-rw-r--r--plugins/org.eclipse.net4j.db.mysql/src/org/eclipse/net4j/db/mysql/MYSQLAdapter.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.db.mysql/src/org/eclipse/net4j/db/mysql/MYSQLAdapter.java b/plugins/org.eclipse.net4j.db.mysql/src/org/eclipse/net4j/db/mysql/MYSQLAdapter.java
index afb275b38f..5d046c5bb1 100644
--- a/plugins/org.eclipse.net4j.db.mysql/src/org/eclipse/net4j/db/mysql/MYSQLAdapter.java
+++ b/plugins/org.eclipse.net4j.db.mysql/src/org/eclipse/net4j/db/mysql/MYSQLAdapter.java
@@ -153,4 +153,10 @@ public class MYSQLAdapter extends DBAdapter
return "ALTER TABLE " + field.getTable() + " CHANGE COLUMN " + oldName + " " + field + " "
+ createFieldDefinition(field);
}
+
+ @Override
+ protected String sqlModifyField(String tableName, String fieldName, String definition)
+ {
+ return "ALTER TABLE " + tableName + " MODIFY " + fieldName + " " + definition;
+ }
}

Back to the top