Debian Codegraph @

mysql-test/suite/ndb/r/ndb_bug24444878.result

raw
1 #
2 # Bug#24444878 MYSQLD CRASHED DURING UNIQUE KEY CREATION
3 # WITH AN ERROR "VOID HA_NDBCLUSTER
4 #
5 create table t1(
6 a int primary key,
7 b int
8 ) engine=ndb;
9 insert into t1 values (1,1);
10 # Set debug variable to make get_metadata() fail during
11 # the alter
12 set global debug='+d,ndb_get_metadata_fail';
13 # Run alter which will fail due to the debug variable
14 alter table t1 add unique(b);
15 ERROR HY000: Table definition has changed, please retry transaction
16 set global debug='';
17 drop table t1;