diff options
Diffstat (limited to 'mysql-test/suite/innodb/r/innodb-alter-debug.result')
-rw-r--r-- | mysql-test/suite/innodb/r/innodb-alter-debug.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/innodb-alter-debug.result b/mysql-test/suite/innodb/r/innodb-alter-debug.result index 51ba58aa1ef..4644c124a45 100644 --- a/mysql-test/suite/innodb/r/innodb-alter-debug.result +++ b/mysql-test/suite/innodb/r/innodb-alter-debug.result @@ -98,3 +98,12 @@ disconnect con1; connection default; UNLOCK TABLES; DROP TABLE t1; +# +# MDEV-7318 RENAME INDEX +# +CREATE TABLE t (c1 INT, c2 INT, KEY i2 (c2)) ENGINE=INNODB; +SET DEBUG_DBUG= '+d,ib_rename_index_fail1'; +ALTER TABLE t RENAME INDEX i2 to x, ALGORITHM=INPLACE; +ERROR 40001: Deadlock found when trying to get lock; try restarting transaction +SET DEBUG_DBUG = @saved_debug_dbug; +DROP TABLE t; |