mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Removed kill_delayed_threads_for_table()
After 7fb9d64 it is used only by ALTER/DROP SERVER, which most probably
wasn't intentional as Federated never supported delayed inserts anyway.
If delayed inserts will ever become an issue with ALTER/DROP SERVER, we
should kill them by acquiring X-lock instead.
Part of MDEV-17882 - Cleanup refresh version
This commit is contained in:
@@ -361,7 +361,7 @@ bool Sql_cmd_truncate_table::lock_table(THD *thd, TABLE_LIST *table_ref,
|
||||
{
|
||||
/* Table is already locked exclusively. Remove cached instances. */
|
||||
tdc_remove_table(thd, TDC_RT_REMOVE_ALL, table_ref->db.str,
|
||||
table_ref->table_name.str, FALSE);
|
||||
table_ref->table_name.str);
|
||||
}
|
||||
|
||||
DBUG_RETURN(FALSE);
|
||||
|
||||
Reference in New Issue
Block a user