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_partition_admin.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_partition_admin.cc')
| -rw-r--r-- | sql/sql_partition_admin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_partition_admin.cc b/sql/sql_partition_admin.cc index 54484846609..edd2116833c 100644 --- a/sql/sql_partition_admin.cc +++ b/sql/sql_partition_admin.cc @@ -826,7 +826,7 @@ bool Sql_cmd_alter_table_truncate_partition::execute(THD *thd) DBUG_RETURN(TRUE); tdc_remove_table(thd, TDC_RT_REMOVE_NOT_OWN, first_table->db.str, - first_table->table_name.str, FALSE); + first_table->table_name.str); partition= (ha_partition*) first_table->table->file; /* Invoke the handler method responsible for truncating the partition. */ |
