mysql-test/suite/innodb/t/innodb_bug56947.test
raw| 1 | # |
| 2 | # Bug #56947 valgrind reports a memory leak in innodb-plugin.innodb-index |
| 3 | # |
| 4 | -- source include/have_debug.inc |
| 5 | |
| 6 | SET GLOBAL innodb_file_per_table=0; |
| 7 | create table bug56947(a int not null) engine = innodb; |
| 8 | |
| 9 | SET DEBUG='+d,ib_rebuild_cannot_rename'; |
| 10 | --error ER_GET_ERRNO |
| 11 | alter table bug56947 add unique index (a); |
| 12 | SET DEBUG='-d,ib_rebuild_cannot_rename'; |
| 13 | check table bug56947; |
| 14 | |
| 15 | drop table bug56947; |
| 16 | SET @@global.innodb_file_per_table=DEFAULT; |