diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-05-10 20:44:12 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-05-11 12:50:36 +0200 |
commit | c7e30a805a2451752070f6eef7149b32079bdc59 (patch) | |
tree | 546d45cd1fa0347e5d139d76ce7eb9fae0ea6ea7 /connectivity | |
parent | ef1755273c13c40bee1bc4c3a5d6dd03e5e60ad3 (diff) |
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@mamane.lu>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
(cherry picked from commit 572c9db0440d9aba4945fb1761ec7f83e717c2f0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93801
Tested-by: Jenkins
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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() { |