diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-05-10 20:44:12 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-05-11 11:16:34 +0200 |
commit | 572c9db0440d9aba4945fb1761ec7f83e717c2f0 (patch) | |
tree | ac4bb641c243e5f2a3428763452407ef036b701a /connectivity/source | |
parent | 4ba368a3dd793bdc703858f358e1af7112decadd (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>
Diffstat (limited to 'connectivity/source')
-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 19c6f5755df9..661dd7dc95d0 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -514,7 +514,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 db9b5c6e6b55..a1e11c9e7ccf 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx @@ -275,7 +275,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets() { return true; 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() { |