mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-26635 ROW_NUMBER is not 0 for errors not caused because of rows
This commit is contained in:
@ -728,6 +728,8 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
||||
explain= (Explain_delete*)thd->lex->explain->get_upd_del_plan();
|
||||
explain->tracker.on_scan_init();
|
||||
|
||||
thd->get_stmt_da()->reset_current_row_for_warning(1);
|
||||
|
||||
if (!delete_while_scanning)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user