1
-- source include/have_ndb.inc
2
-- source include/have_binlog_format_mixed_or_row.inc
5
drop table if exists t1;
9
# Bug #14516 Restart of cluster can cause NDB API replication failure
11
create table t1 (a int key) engine=ndb;
13
--exec $NDB_MGM --no-defaults -e "all restart -n" > /dev/null
14
--exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults --not-started > /dev/null
15
--exec $NDB_MGM --no-defaults -e "all start" > /dev/null
16
--exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults > /dev/null
22
# Table t1 is readonly until the mysqld has reconnected properly
24
insert into t1 values(1);
32
--source include/show_binlog_events2.inc
33
PURGE MASTER LOGS TO 'mysqld-bin.000002';
35
--source include/show_binlog_events2.inc