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

Tamas Bunth tamas.bunth at collabora.co.uk
Mon Mar 12 12:45:29 UTC 2018


 dbaccess/source/filter/hsqldb/rowinputbinary.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6dad441bf5da4e50553dc84cb99d767eddadc1fd
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
Date:   Mon Mar 12 10:52:59 2018 +0100

    dbahsql: use empty Any for "Other" column
    
    Change-Id: Ie3e918956a25fba2831d3542e5f3d1b26c4fdc2a
    Reviewed-on: https://gerrit.libreoffice.org/51117
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tamás Bunth <btomi96 at gmail.com>

diff --git a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
index 30097d59f78b..a69d696bf1b2 100644
--- a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
+++ b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
@@ -348,7 +348,7 @@ std::vector<Any> HsqlRowInputStream::readOneRow(const ColumnTypeVector& nColType
             }
             break;
             case DataType::OTHER:
-                // TODO
+                aData.push_back(Any{}); // TODO
                 break;
             case DataType::BINARY:
             case DataType::VARBINARY:
@@ -364,7 +364,6 @@ std::vector<Any> HsqlRowInputStream::readOneRow(const ColumnTypeVector& nColType
             break;
 
             default:
-                // TODO other exception
                 throw WrongFormatException();
         }
     }


More information about the Libreoffice-commits mailing list