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_truncate.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_truncate.cc')
-rw-r--r-- | sql/sql_truncate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_truncate.cc b/sql/sql_truncate.cc index bfcdda6e0e9..8e078ff02af 100644 --- a/sql/sql_truncate.cc +++ b/sql/sql_truncate.cc @@ -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); |