mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-30366 Permit bulk implementation to return ALL individual results
COM_STMT_BULK_STMT new flag to server to returns all unitary results
This commit is contained in:
@@ -1250,6 +1250,9 @@ update_end:
|
||||
ER_THD(thd, ER_UPDATE_INFO_WITH_SYSTEM_VERSIONING),
|
||||
(ulong) found, (ulong) updated, (ulong) rows_inserted,
|
||||
(ulong) thd->get_stmt_da()->current_statement_warn_count());
|
||||
thd->collect_unit_results(
|
||||
id,
|
||||
(thd->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated);
|
||||
my_ok(thd, (thd->client_capabilities & CLIENT_FOUND_ROWS) ? found : updated,
|
||||
id, buff);
|
||||
DBUG_PRINT("info",("%ld records updated", (long) updated));
|
||||
|
Reference in New Issue
Block a user