Commit ecefc69c authored by monty@tik.mysql.fi's avatar monty@tik.mysql.fi
Browse files

Made replication test portable accross table handlers

parent 7ff42f82
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
n
1
2
3
4
5
6
10
11
12
13
14
15
+5 −3
Original line number Diff line number Diff line
# test to see if replication can continue when master sporadically fails on
# COM_BINLOG_DUMP and additionally limits the number of events per dump

source include/master-slave.inc;
connection master;
drop table if exists t1;
create table t1(n int not null auto_increment primary key);
insert into t1 values (NULL),(NULL);
delete from t1;
insert into t1 values (NULL),(NULL);
# We have to use 4 in the following to make this test work with all table types
insert into t1 values (4),(NULL);
insert into t1 values (NULL),(NULL);
flush logs;
delete from t1;
insert into t1 values (NULL),(NULL);
insert into t1 values (10),(NULL);
insert into t1 values (NULL),(NULL);
insert into t1 values (NULL),(NULL);
save_master_pos;