mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-26635 ROW_NUMBER is not 0 for errors not caused because of rows
This commit is contained in:
@ -1002,6 +1002,7 @@ update_begin:
|
||||
|
||||
THD_STAGE_INFO(thd, stage_updating);
|
||||
fix_rownum_pointers(thd, thd->lex->current_select, &updated_or_same);
|
||||
thd->get_stmt_da()->reset_current_row_for_warning(1);
|
||||
while (!(error=info.read_record()) && !thd->killed)
|
||||
{
|
||||
explain->tracker.on_record_read();
|
||||
|
Reference in New Issue
Block a user