Debian Codegraph @

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_innodb.inc
5 -- source include/have_debug.inc
6
7 SET @save_fpt=@@GLOBAL.innodb_file_per_table;
8 SET GLOBAL innodb_file_per_table=OFF;
9 create table bug56947(a int not null) engine = innodb;
10
11 SET @saved_dbug = @@SESSION.debug_dbug;
12 SET DEBUG_DBUG='+d,ib_rebuild_cannot_rename';
13 --replace_regex /"[^"]*"/"xxx"/
14 --error ER_GET_ERRNO
15 alter table bug56947 add unique index (a);
16 check table bug56947;
17
18 drop table bug56947;
19 SET GLOBAL innodb_file_per_table=@save_fpt;
20 SET debug_dbug= @saved_dbug;