mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Made replication test portable accross table handlers
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
n
|
n
|
||||||
1
|
10
|
||||||
2
|
11
|
||||||
3
|
12
|
||||||
4
|
13
|
||||||
5
|
14
|
||||||
6
|
15
|
||||||
|
@@ -1,16 +1,18 @@
|
|||||||
#test to see if replication can continue when master sporadically fails on
|
# test to see if replication can continue when master sporadically fails on
|
||||||
# COM_BINLOG_DUMP and additionally limits the number of events per dump
|
# COM_BINLOG_DUMP and additionally limits the number of events per dump
|
||||||
|
|
||||||
source include/master-slave.inc;
|
source include/master-slave.inc;
|
||||||
connection master;
|
connection master;
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
create table t1(n int not null auto_increment primary key);
|
create table t1(n int not null auto_increment primary key);
|
||||||
insert into t1 values (NULL),(NULL);
|
insert into t1 values (NULL),(NULL);
|
||||||
delete from t1;
|
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);
|
insert into t1 values (NULL),(NULL);
|
||||||
flush logs;
|
flush logs;
|
||||||
delete from t1;
|
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);
|
||||||
insert into t1 values (NULL),(NULL);
|
insert into t1 values (NULL),(NULL);
|
||||||
save_master_pos;
|
save_master_pos;
|
||||||
|
Reference in New Issue
Block a user