diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_table.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index e637d680973..536b3520a65 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -10887,7 +10887,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to, } backup_set_alter_copy_lock(thd, from); - + DEBUG_SYNC(thd, "copy_data_between_tables_after_set_backup_lock"); alter_table_manage_keys(to, from->file->indexes_are_disabled(), keys_onoff); from->default_column_bitmaps(); @@ -11178,6 +11178,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to, cleanup_done= 1; to->file->extra(HA_EXTRA_NO_IGNORE_DUP_KEY); + DEBUG_SYNC(thd, "copy_data_between_tables_before_reset_backup_lock"); if (backup_reset_alter_copy_lock(thd)) error= 1; |