mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
The goal of the fix for MDEV-34718 was to avoid Diagnostics_area::reset_diagnostics_area() changing DA_OK_BULK to DA_EMPTY for bulk operations. But it was too indiscriminative and also didn't reset DA_ERROR if the bulk operation was in progress. This was leaving Diagnostics_area in the inconsistent state: the status was DA_ERROR, but sql_errno was 0. Fix it to reset the DA_ERROR status as reset_diagnostics_area() is supposed to do.
30 KiB
30 KiB