[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - connectivity/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Mon May 11 10:51:07 UTC 2020


 connectivity/source/drivers/firebird/DatabaseMetaData.cxx      |    2 +-
 connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c7e30a805a2451752070f6eef7149b32079bdc59
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun May 10 20:44:12 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon May 11 12:50:36 2020 +0200

    tdf#126468: MySQL/MariaDB and Firebird don't require order field in select part
    
    Change-Id: I75f050dd6f38fefe83d24a4886610d421f72826e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93937
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>
    (cherry picked from commit 572c9db0440d9aba4945fb1761ec7f83e717c2f0)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93801
    Tested-by: Jenkins

diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index 3d0401678d60..88fec644527b 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -513,7 +513,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause(  )
 
 sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated(  )
 {
-    return false;
+    return true;
 }
 
 sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion(  )
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
index d9c7f81f9139..2b14104ff02b 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx
@@ -286,7 +286,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets() { return false
 
 sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause() { return true; }
 
-sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated() { return false; }
+sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated() { return true; }
 
 sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion()
 {


More information about the Libreoffice-commits mailing list