summaryrefslogtreecommitdiff
path: root/sql/sql_admin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_admin.cc')
-rw-r--r--sql/sql_admin.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index cfc48c82b4d..cdec2c08e5c 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -1027,9 +1027,7 @@ send_result_message:
*save_next_global= table->next_global;
table->next_local= table->next_global= 0;
- tmp_disable_binlog(thd); // binlogging is done by caller if wanted
result_code= admin_recreate_table(thd, table);
- reenable_binlog(thd);
trans_commit_stmt(thd);
trans_commit(thd);
close_thread_tables(thd);