connectivity/source/drivers/mysqlc/mysqlc_general.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 47a62ede2403772b8743bfcfa0b6dd4be17fec9c Author: Tamas Bunth <tamas.bu...@collabora.co.uk> AuthorDate: Wed Sep 11 12:55:20 2019 +0200 Commit: Tamás Bunth <btom...@gmail.com> CommitDate: Tue Sep 17 13:24:34 2019 +0200 tdf#126852 Bind TEXT mysql type to Clob Change-Id: I5a71666f1fafa9507032deffafebf885813a0369 Reviewed-on: https://gerrit.libreoffice.org/78815 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btom...@gmail.com> diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx index 75b97b4028de..4c7c8465c798 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx @@ -202,8 +202,10 @@ sal_Int32 mysqlStrToOOOType(const OUString& sType) return css::sdbc::DataType::BLOB; if (sType.equalsIgnoreAsciiCase("varbinary")) return css::sdbc::DataType::VARBINARY; - if (sType.equalsIgnoreAsciiCase("text") || sType.equalsIgnoreAsciiCase("char")) + if (sType.equalsIgnoreAsciiCase("char")) return css::sdbc::DataType::CHAR; + if (sType.equalsIgnoreAsciiCase("text")) + return css::sdbc::DataType::CLOB; if (sType.equalsIgnoreAsciiCase("binary")) return css::sdbc::DataType::BINARY; if (sType.equalsIgnoreAsciiCase("time")) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits