summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/innodb_bug56947.test
blob: 4cefeb391cf64add586d9ee68dab412ae48ea954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Bug #56947 valgrind reports a memory leak in innodb-plugin.innodb-index
#
-- source include/have_innodb.inc
-- source include/have_debug.inc

SET GLOBAL innodb_file_per_table=0;
create table bug56947(a int not null) engine = innodb;

SET DEBUG_DBUG='+d,ib_rebuild_cannot_rename';
--error ER_GET_ERRNO
alter table bug56947 add unique index (a);
SET DEBUG_DBUG='-d,ib_rebuild_cannot_rename';
check table bug56947;

drop table bug56947;
SET @@global.innodb_file_per_table=DEFAULT;