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:
@ -659,6 +659,7 @@ int mysql_load(THD *thd, const sql_exchange *ex, TABLE_LIST *table_list,
|
||||
table->copy_blobs=1;
|
||||
|
||||
thd->abort_on_warning= !ignore && thd->is_strict_mode();
|
||||
thd->get_stmt_da()->reset_current_row_for_warning(1);
|
||||
|
||||
bool create_lookup_handler= handle_duplicates != DUP_ERROR;
|
||||
if ((table_list->table->file->ha_table_flags() & HA_DUPLICATE_POS))
|
||||
|
Reference in New Issue
Block a user