-- source include/have_ndb.inc -- source include/have_ndb_debug.inc -- disable_warnings drop table if exists t1,t2,t3; -- enable_warnings create table t1 ( a int not null primary key, b int not null, c char(255) ) engine ndb; create table t2 ( a int not null primary key, b int not null) engine ndb; create table t3 ( a int not null primary key, b int not null) engine ndb; insert into t1 values (1,1,'1'),(2,2,'2'),(3,3,'3'),(4,4,'4'); insert into t1 select a+4,b,c from t1; insert into t1 select a+8,b,c from t1; insert into t1 select a+16,b,c from t1; insert into t1 select a+32,b,c from t1; insert into t1 select a+64,b,c from t1; insert into t1 select a+128,b,c from t1; insert into t1 select a+256,b,c from t1; insert into t1 select a+512,b,c from t1; insert into t1 select a+1024,b,c from t1; insert into t1 select a+2048,b,c from t1; insert into t1 select a+4096,b,c from t1; insert into t1 select a+8192,b,c from t1; insert into t1 select a+16384,b,c from t1; insert into t1 select a+32768,b,c from t1; insert into t2 values (1,1),(2,2),(3,3),(4,4); insert into t3 values (1,1),(2,2),(3,3),(4,4); --exec $NDB_MGM -e "1 ERROR 7248" >> $NDB_TOOLS_OUTPUT --exec $NDB_MGM -e "1 ERROR 6223" >> $NDB_TOOLS_OUTPUT --exec $NDB_DROP_TABLE --database test t2 >> $NDB_TOOLS_OUTPUT # Start cluster node again # Wait for all nodes to enter "started" --exec $NDB_WAITER --wait-nodes=1 >> $NDB_TOOLS_OUTPUT --exec $NDB_MGM -e "3 ERROR 7248" >> $NDB_TOOLS_OUTPUT --exec $NDB_MGM -e "3 ERROR 6223" >> $NDB_TOOLS_OUTPUT --exec $NDB_DROP_TABLE --database test t3 >> $NDB_TOOLS_OUTPUT # Start cluster node again # Wait for all nodes to enter "started" --exec $NDB_WAITER --wait-nodes=3 >> $NDB_TOOLS_OUTPUT -- disable_warnings drop table t1, t2, t3; -- enable_warnings --remove_file $NDB_TOOLS_OUTPUT