diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2019-06-19 17:42:37 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-11-25 18:49:51 +0400 |
commit | 092834cd2cd90c73623c019eb030f25740843e81 (patch) | |
tree | 4ae53b062ece0b56097e5926b70ee8249bcd9945 /sql/sql_rename.cc | |
parent | 0aa807d10051e1231bf3d4457db16ad8e66111aa (diff) | |
download | mariadb-git-092834cd2cd90c73623c019eb030f25740843e81.tar.gz |
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
Diffstat (limited to 'sql/sql_rename.cc')
-rw-r--r-- | sql/sql_rename.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_rename.cc b/sql/sql_rename.cc index ada373546be..1c6cf52963a 100644 --- a/sql/sql_rename.cc +++ b/sql/sql_rename.cc @@ -287,7 +287,7 @@ do_rename(THD *thd, TABLE_LIST *ren_table, const LEX_CSTRING *new_db, { DBUG_ASSERT(!thd->locked_tables_mode); tdc_remove_table(thd, TDC_RT_REMOVE_ALL, - ren_table->db.str, ren_table->table_name.str, false); + ren_table->db.str, ren_table->table_name.str); if (hton != view_pseudo_hton) { |