summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch')
-rw-r--r--redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch b/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch
new file mode 100644
index 000000000..70a0bab67
--- /dev/null
+++ b/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch
@@ -0,0 +1,16 @@
+Index: kexi/migration/mysql/mysqlmigrate.cpp
+===================================================================
+--- kexi/migration/mysql/mysqlmigrate.cpp (revision 714726)
++++ kexi/migration/mysql/mysqlmigrate.cpp (working copy)
+@@ -420,9 +420,9 @@
+ if(mysqlType.contains("blob", false) != 0) {
+ // Doesn't matter how big it is, it's binary
+ kexiType = KexiDB::Field::BLOB;
+- } else if(mysqlType.contains("text", false) != 0) {
++/* } else if(mysqlType.contains("text", false) != 0) {
+ // All the TEXT types are too big for Kexi text.
+- kexiType = KexiDB::Field::BLOB;
++ kexiType = KexiDB::Field::BLOB;*/
+ } else if(fld->length < 200) {
+ kexiType = KexiDB::Field::Text;
+ } else {