[Libreoffice-commits] core.git: connectivity/source
Lionel Elie Mamane
lionel at mamane.lu
Thu Dec 28 08:38:43 UTC 2017
connectivity/source/drivers/firebird/StatementCommonBase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8375ab7b5024bad1bcf8bbb0c734ba1e5416445f
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Thu Dec 28 06:07:06 2017 +0100
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 at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
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;
}
More information about the Libreoffice-commits
mailing list