summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgidijus Vaishnora2011-07-18 03:30:19 (EDT)
committerEgidijus Vaishnora2011-07-18 03:30:19 (EDT)
commit6e37c9a15ce6a70ff63aac15fe07953913da4ae7 (patch)
treec1f385c8a0824f34eff9b3fb37efc2f75a384985
parent713e6f6d9009627eedb76c392f5878b08998f0b7 (diff)
downloadcdo-6e37c9a15ce6a70ff63aac15fe07953913da4ae7.zip
cdo-6e37c9a15ce6a70ff63aac15fe07953913da4ae7.tar.gz
cdo-6e37c9a15ce6a70ff63aac15fe07953913da4ae7.tar.bz2
351990: [DB][Mysql] Default BLOB size is not sufficient
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351990
-rw-r--r--plugins/org.eclipse.net4j.db.mysql/META-INF/MANIFEST.MF6
-rw-r--r--plugins/org.eclipse.net4j.db.mysql/src/org/eclipse/net4j/db/mysql/MYSQLAdapter.java2
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/org.eclipse.net4j.db.mysql/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.db.mysql/META-INF/MANIFEST.MF
index 54903c8..ab6e18a 100644
--- a/plugins/org.eclipse.net4j.db.mysql/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.net4j.db.mysql/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.net4j.db.mysql;singleton:=true
-Bundle-Version: 4.0.0.qualifier
+Bundle-Version: 4.0.100.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
@@ -13,6 +13,6 @@ Require-Bundle: org.eclipse.net4j.db;bundle-version="[4.0.0,5.0.0)";visibility:=
Import-Package: com.mysql.jdbc;version="[5.0.0,6.0.0)",
com.mysql.jdbc.jdbc2.optional;version="[5.0.0,6.0.0)",
org.osgi.framework;version="[1.0.0,2.0.0)"
-Export-Package: org.eclipse.net4j.db.internal.mysql.bundle;version="4.0.0";x-internal:=true,
- org.eclipse.net4j.db.mysql;version="4.0.0"
+Export-Package: org.eclipse.net4j.db.internal.mysql.bundle;version="4.0.100";x-internal:=true,
+ org.eclipse.net4j.db.mysql;version="4.0.100"
Eclipse-RegisterBuddy: org.eclipse.net4j.db
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 c83f9bf..3642ef6 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
@@ -115,6 +115,8 @@ public class MYSQLAdapter extends DBAdapter
case VARCHAR:
case CLOB:
return "LONGTEXT"; //$NON-NLS-1$
+ case BLOB:
+ return "LONGBLOB"; //$NON-NLS-1$
}
return super.getTypeName(field);