mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Some changes in multi-table deletes, with some speed-ups and
incorporations of the new stuff. When Monty approves / corrects it, I will "port" it to multi-table updates. sql/sql_insert.cc: A small bug fix sql/sql_update.cc: query cache invalidation
This commit is contained in:
@ -1328,7 +1328,7 @@ void select_insert::send_error(uint errcode,const char *err)
|
||||
::send_error(&thd->net,errcode,err);
|
||||
table->file->extra(HA_EXTRA_NO_CACHE);
|
||||
table->file->activate_all_index(thd);
|
||||
ha_rollback(thd);
|
||||
ha_rollback_stmt(thd);
|
||||
if (info.copied || info.deleted)
|
||||
query_cache.invalidate(table);
|
||||
}
|
||||
|
Reference in New Issue
Block a user