summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_binlog_discover.test
blob: e74bd3380bd928a399daea28d3664ac4ff8a04ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- source include/have_ndb.inc
-- source include/have_binlog_format_row.inc

--disable_warnings
drop table if exists t1;
--enable_warnings

#
# Bug #14516 Restart of cluster can cause NDB API replication failure
#
create table t1 (a int key) engine=ndb;
reset master;
--exec $NDB_MGM --no-defaults -e "all restart -n" > /dev/null
--exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults --not-started > /dev/null
--exec $NDB_MGM --no-defaults -e "all start" > /dev/null
--exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults > /dev/null
insert into t1 values(1);
--source include/show_binlog_events.inc
drop table t1;