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 <btomi96@gmail.com>
This commit is contained in:
parent
1e202ec8aa
commit
47a62ede24
@ -202,8 +202,10 @@ sal_Int32 mysqlStrToOOOType(const OUString& sType)
|
|||||||
return css::sdbc::DataType::BLOB;
|
return css::sdbc::DataType::BLOB;
|
||||||
if (sType.equalsIgnoreAsciiCase("varbinary"))
|
if (sType.equalsIgnoreAsciiCase("varbinary"))
|
||||||
return css::sdbc::DataType::VARBINARY;
|
return css::sdbc::DataType::VARBINARY;
|
||||||
if (sType.equalsIgnoreAsciiCase("text") || sType.equalsIgnoreAsciiCase("char"))
|
if (sType.equalsIgnoreAsciiCase("char"))
|
||||||
return css::sdbc::DataType::CHAR;
|
return css::sdbc::DataType::CHAR;
|
||||||
|
if (sType.equalsIgnoreAsciiCase("text"))
|
||||||
|
return css::sdbc::DataType::CLOB;
|
||||||
if (sType.equalsIgnoreAsciiCase("binary"))
|
if (sType.equalsIgnoreAsciiCase("binary"))
|
||||||
return css::sdbc::DataType::BINARY;
|
return css::sdbc::DataType::BINARY;
|
||||||
if (sType.equalsIgnoreAsciiCase("time"))
|
if (sType.equalsIgnoreAsciiCase("time"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user