1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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:
Sergey Vojtovich
2019-06-19 17:42:37 +04:00
parent 0aa807d100
commit 092834cd2c
13 changed files with 27 additions and 80 deletions

View File

@ -1158,7 +1158,7 @@ send_result_message:
else if (open_for_modify || fatal_error)
{
tdc_remove_table(thd, TDC_RT_REMOVE_UNUSED,
table->db.str, table->table_name.str, FALSE);
table->db.str, table->table_name.str);
/*
May be something modified. Consequently, we have to
invalidate the query cache.