From 9b887f63147914793f881c0cf4a730a46d6f688c Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 22 Jul 2023 12:44:01 +0200 Subject: tdf#146584: FB Setting default with ALTER TABLE works but gives useless message ALTER is a DDL (DATA DEFINITION LANGAGE) instruction, no count row is expected. Change-Id: I3d5bfe240b85c5b79392c92fdd870bc045e1eb46 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154755 Reviewed-by: Julien Nabet Tested-by: Jenkins --- connectivity/source/drivers/firebird/StatementCommonBase.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'connectivity') diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx index 917f801c7a9d..29ef5925657d 100644 --- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx +++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx @@ -453,6 +453,7 @@ sal_Int32 OStatementCommonBase::getStatementChangeCount() aDesiredInfoType = isc_info_req_delete_count; break; case isc_info_sql_stmt_exec_procedure: + case isc_info_sql_stmt_ddl: return 0; // cannot determine default: throw SQLException(); // TODO: better error message? -- cgit