mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merged with 3.23 replication updates
mysql-test/r/type_float.result: Auto merged sql/sql_repl.h: Auto merged BitKeeper/triggers/post-commit: merged with 3.23 updates sql/mysqld.cc: merged sql/slave.cc: merged sql/sql_repl.cc: merged
This commit is contained in:
7
mysql-test/r/rpl_sporadic_master.result
Normal file
7
mysql-test/r/rpl_sporadic_master.result
Normal file
@ -0,0 +1,7 @@
|
||||
n
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
1
mysql-test/t/rpl_sporadic_master-master.opt
Normal file
1
mysql-test/t/rpl_sporadic_master-master.opt
Normal file
@ -0,0 +1 @@
|
||||
--sporadic-binlog-dump-fail --max-binlog-dump-events=2
|
24
mysql-test/t/rpl_sporadic_master.test
Normal file
24
mysql-test/t/rpl_sporadic_master.test
Normal file
@ -0,0 +1,24 @@
|
||||
#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);
|
||||
insert into t1 values (NULL),(NULL);
|
||||
flush logs;
|
||||
delete from t1;
|
||||
insert into t1 values (NULL),(NULL);
|
||||
insert into t1 values (NULL),(NULL);
|
||||
insert into t1 values (NULL),(NULL);
|
||||
save_master_pos;
|
||||
connection slave;
|
||||
sync_with_master;
|
||||
select * from t1;
|
||||
connection master;
|
||||
drop table t1;
|
||||
save_master_pos;
|
||||
connection slave;
|
||||
sync_with_master;
|
Reference in New Issue
Block a user