summaryrefslogtreecommitdiff
path: root/sql/sql_partition.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r--sql/sql_partition.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index d7ff753dfd0..2c8b5d67d04 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -59,7 +59,7 @@
#include "my_md5.h"
#include "transaction.h"
-#include "sql_base.h" // close_thread_tables
+#include "sql_base.h" // close_all_tables_for_name
#include "sql_table.h" // build_table_filename,
// build_table_shadow_filename,
// table_to_filename
@@ -6758,7 +6758,6 @@ uint fast_alter_partition_table(THD *thd, TABLE *table,
table_list, FALSE, NULL,
written_bin_log));
err:
- close_thread_tables(thd);
DBUG_RETURN(TRUE);
}
#endif