summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2017-12-28 11:53:24 +0100
committerAndras Timar <andras.timar@collabora.com>2018-03-20 12:26:27 +0100
commit2c05c3bd2876707286cc9aec1ff9b9fbfa8e1b69 (patch)
tree19d98d565c360c99d6ac60555e0c9e1db8b2e276 /connectivity
parentd12526684a43477a7c600936c17c27d28effa1df (diff)
Firebird: use 32 bit
Change-Id: I435524d1852a6691b382b93c9b6d2a7705938cd7 Reviewed-on: https://gerrit.libreoffice.org/47130 Reviewed-by: Tamás Bunth <btomi96@gmail.com> Tested-by: Tamás Bunth <btomi96@gmail.com> (cherry picked from commit 64d4f117447d990ed3215b0dd619e07de26ce417)
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/DatabaseMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index d1de5787ab85..f18d903a7402 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -874,7 +874,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
// Clob (SQL_BLOB)
aRow[1] = new ORowSetValueDecorator(OUString("BLOB")); // BLOB, with subtype 1
aRow[2] = new ORowSetValueDecorator(DataType::CLOB);
- aRow[3] = new ORowSetValueDecorator(sal_Int16(2147483647)); // Precision = max length
+ aRow[3] = new ORowSetValueDecorator(sal_Int32(2147483647)); // Precision = max length
aRow[6] = new ORowSetValueDecorator(); // Create Params
aRow[9] = new ORowSetValueDecorator(
sal_Int16(ColumnSearch::FULL)); // Searchable