connectivity/source/drivers/firebird/StatementCommonBase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8375ab7b5024bad1bcf8bbb0c734ba1e5416445f Author: Lionel Elie Mamane <[email protected]> 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 <[email protected]> Reviewed-by: Julien Nabet <[email protected]> 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; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
