summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-04-26 11:28:01 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-04-26 11:28:01 +0200
commitd56d039d95d14dfa39fb1e3630e508bf48982c49 (patch)
tree4ec8984845b893ab7409aaaedb2e69ac95e2b023 /redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch
parenta513a89bebab63ea439e7f6090cf474c67a7a3b0 (diff)
downloadtde-packaging-d56d039d95d14dfa39fb1e3630e508bf48982c49.tar.gz
tde-packaging-d56d039d95d14dfa39fb1e3630e508bf48982c49.zip
RHEL/Fedora: updates koffice 3.5.13
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 {