diff options
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 6b0a3bef006..23b4a95f9d5 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -12040,7 +12040,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to, if (ht->start_consistent_snapshot) { thd->tx_isolation= ISO_REPEATABLE_READ; - from->file->open_read_view(); + error= ht->start_consistent_snapshot(ht, thd); } } |