Commit f0baa864 authored by Nikita Malyavin's avatar Nikita Malyavin

ut_ad(err != DB_DUPLICATE_KEY) in row_rename_table_for_mysql

parent a81fbbc6
......@@ -4349,6 +4349,8 @@ row_rename_table_for_mysql(
"END;\n"
, FALSE, trx);
ut_ad(err != DB_DUPLICATE_KEY);
/* SYS_TABLESPACES and SYS_DATAFILES need to be updated if
the table is in a single-table tablespace. */
if (err != DB_SUCCESS || !dict_table_is_file_per_table(table)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment