set @@global.ndb_schema_dist_lock_wait_timeout = 1; create table t1 ( a int ) engine = ndb; begin; insert into t1 values(1); alter table t1 rename t2; Warnings: Warning 1296 Node 'Distribution of RENAME TABLE 't1' failed' commit; drop table t2; set global ndb_dbg_check_shares=1; set global ndb_dbg_check_shares=1; create table t1 ( a int primary key) engine = ndb; begin; insert into t1 values(1); alter table t1 algorithm=inplace, add column b int column_format dynamic; Warnings: Warning 1296 Node 'Distribution of ALTER TABLE 't1' failed' commit; drop table t1; set global ndb_dbg_check_shares=1; set global ndb_dbg_check_shares=1; create table t1 ( a int primary key) engine = ndb; begin; insert into t1 values(1); alter table t1 algorithm=copy, add column b int column_format dynamic; ERROR HY000: Lock wait timeout exceeded; try restarting transaction commit; drop table t1; set global ndb_dbg_check_shares=1; set global ndb_dbg_check_shares=1; create table t1 ( a int primary key, b int) engine = ndb; begin; insert into t1 values(1, 1); create index ind_b on t1(b) algorithm=inplace; Warnings: Warning 1296 Node 'Distribution of ALTER TABLE 't1' failed' commit; drop table t1; set global ndb_dbg_check_shares=1; set global ndb_dbg_check_shares=1; create table t1 ( a int primary key, b int, index ind_b (b)) engine = ndb; begin; insert into t1 values(1, 1); drop index ind_b on t1; Warnings: Warning 1296 Node 'Distribution of ALTER TABLE 't1' failed' commit; drop table t1; set global ndb_dbg_check_shares=1; set global ndb_dbg_check_shares=1; create database testdb; create table testdb.t1 (a int) engine = ndb; begin; insert into testdb.t1 values(1); alter database testdb charset = latin1; Warnings: Warning 1296 Node 'Distribution of ALTER DATABASE 'testdb' failed' commit; drop database testdb; set global ndb_dbg_check_shares=1; set global ndb_dbg_check_shares=1;