Skip to content

Commit f0baa86

Browse files
committed
ut_ad(err != DB_DUPLICATE_KEY) in row_rename_table_for_mysql
1 parent a81fbbc commit f0baa86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

storage/innobase/row/row0mysql.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4349,6 +4349,8 @@ row_rename_table_for_mysql(
43494349
"END;\n"
43504350
, FALSE, trx);
43514351

4352+
ut_ad(err != DB_DUPLICATE_KEY);
4353+
43524354
/* SYS_TABLESPACES and SYS_DATAFILES need to be updated if
43534355
the table is in a single-table tablespace. */
43544356
if (err != DB_SUCCESS || !dict_table_is_file_per_table(table)) {

0 commit comments

Comments
 (0)