diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2017-12-28 06:07:06 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-12-28 09:38:17 +0100 |
commit | 8375ab7b5024bad1bcf8bbb0c734ba1e5416445f (patch) | |
tree | cc7c208f2ec9b6fa7ae34ae2035e5af9528287b0 /connectivity | |
parent | 66d7540bcf3f82de906a588f01d1fbedc3d2928c (diff) |
firebird: return consistent (if wrong...) results for XMultipleResults
Just in case we are called by code not checking our DatabaseMetadata
to learn we don't support multiple resultsets.
Change-Id: I6d8c5f4ef04bcd9ec8b66a83881607281e125b7b
Reviewed-on: https://gerrit.libreoffice.org/47117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/StatementCommonBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx index 0db1a86a619d..2dab23cdd34d 100644 --- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx +++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx @@ -241,7 +241,7 @@ sal_Bool SAL_CALL OStatementCommonBase::getMoreResults() sal_Int32 SAL_CALL OStatementCommonBase::getUpdateCount() { // TODO: verify we really can't support this - return 0; + return -1; } |