[Libreoffice-commits] core.git: connectivity/source

Tamas Bunth tamas.bunth at collabora.co.uk
Thu Dec 28 10:52:35 UTC 2017


 connectivity/source/drivers/firebird/DatabaseMetaData.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 64d4f117447d990ed3215b0dd619e07de26ce417
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
Date:   Thu Dec 28 11:53:24 2017 +0100

    Firebird: use 32 bit
    
    Change-Id: I435524d1852a6691b382b93c9b6d2a7705938cd7
    Reviewed-on: https://gerrit.libreoffice.org/47130
    Reviewed-by: Tamás Bunth <btomi96 at gmail.com>
    Tested-by: Tamás Bunth <btomi96 at gmail.com>

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


More information about the Libreoffice-commits mailing list