summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index d7d6ce47846..e2264568cf7 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -11012,7 +11012,7 @@ do_continue:;
binlog_as_create_select= 1;
DBUG_ASSERT(new_table->file->row_logging);
new_table->mark_columns_needed_for_insert();
- thd->binlog_write_table_map(new_table, 1);
+ mysql_bin_log.write_table_map(thd, new_table, 1);
}
if (copy_data_between_tables(thd, table, new_table,
alter_info->create_list, ignore,