--source include/have_innodb.inc --source include/have_debug.inc # Embedded server does not support restarting --source include/not_embedded.inc CREATE TABLE t(c0 SERIAL, c1 INT, c2 INT, c3 INT, c4 INT, KEY(c1), KEY(c2), KEY(c2,c1), KEY(c3), KEY(c3,c1), KEY(c3,c2), KEY(c3,c2,c1), KEY(c4), KEY(c4,c1), KEY(c4,c2), KEY(c4,c2,c1), KEY(c4,c3), KEY(c4,c3,c1), KEY(c4,c3,c2), KEY(c4,c3,c2,c1)) ENGINE=InnoDB; let $n= 10; SET DEBUG_DBUG='+d,row_drop_table_add_to_background'; --disable_query_log let $i= $n; while ($i) { eval CREATE TABLE t$i LIKE t; dec $i; } let $i= $n; while ($i) { eval DROP TABLE t$i; dec $i; } --enable_query_log DROP TABLE t; --source include/restart_mysqld.inc CREATE TABLE t (a INT) ENGINE=InnoDB; DROP TABLE t;