1
--source include/have_ndb.inc
2
--source include/have_binlog_format_mixed_or_row.inc
3
--source suite/ndb_rpl/ndb_master-slave.inc
5
# We are not binlogging changes to the mysql db. Check
6
# that changes to tables in the mysql db are not replicated
7
# but ndb_apply_status events are
10
delete from mysql.ndb_apply_status;
14
create table t1 (a int primary key, b int) engine=myisam;
15
create table t2 (a int primary key, b int) engine=ndb;
17
insert into t1 values (1,1), (2,2);
18
insert into t2 values (1,1), (2,2);
24
create table t3 (a int primary key, b int) engine=ndb;
25
insert into t3 values (1,1), (2,2);
27
--sync_slave_with_master slave
30
select count(1) from information_schema.tables where table_schema="mysql" and (table_name = "t1" or table_name="t2");
33
select * from t3 order by a;
35
select count(1) from mysql.ndb_apply_status;
45
--sync_slave_with_master slave
47
--source include/rpl_end.inc