mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ixed wrong unlock of tables (new bug)
sql/sql_delete.cc: Comment cleanup sql/sql_insert.cc: Comment cleanup sql/sql_load.cc: Comment cleanup sql/sql_update.cc: Fixed wrong unlock of tables. (Unlock must be done after writing to binary log
This commit is contained in:
@ -481,8 +481,10 @@ bool multi_delete::send_eof()
|
||||
/* reset used flags */
|
||||
thd->proc_info="end";
|
||||
|
||||
/* We must invalidate the query cache before binlog writing and
|
||||
ha_autocommit_... */
|
||||
/*
|
||||
We must invalidate the query cache before binlog writing and
|
||||
ha_autocommit_...
|
||||
*/
|
||||
if (deleted)
|
||||
query_cache_invalidate3(thd, delete_tables, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user