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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 18 06:06:50 UTC 2019


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

New commits:
commit dc8b79e378e28a87fdef8b10737a603443043e37
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Jan 17 21:18:36 2019 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Jan 18 07:06:25 2019 +0100

    Base/Mysqlc: fix schemas retrieving
    
    Change-Id: Ib0bd600aed3c3394890a199d105aff17cd547200
    Reviewed-on: https://gerrit.libreoffice.org/66554
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>
    Tested-by: Jenkins

diff --git a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
index 370d9635c4e9..890f31de666a 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
@@ -660,7 +660,7 @@ Reference<XResultSet> SAL_CALL ODatabaseMetaData::getSchemas()
             OUString columnStringValue = xRow->getString(i);
             if (i == 1)
             { // TABLE_SCHEM
-                informationSchema = !columnStringValue.equalsIgnoreAsciiCase("information_schema");
+                informationSchema = columnStringValue.equalsIgnoreAsciiCase("information_schema");
             }
             aRow.push_back(makeAny(columnStringValue));
         }


More information about the Libreoffice-commits mailing list