rpl_sporadic_master.test
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· TEST 代码 · 共 27 行
TEST
27 行
# test to see if replication can continue when master sporadically fails on# COM_BINLOG_DUMP and additionally limits the number of events per dumpsource include/master-slave.inc;create table t2(n int);create table t1(n int not null auto_increment primary key);insert into t1 values (NULL),(NULL);truncate table t1;# We have to use 4 in the following to make this test work with all table typesinsert into t1 values (4),(NULL);sync_slave_with_master;stop slave;start slave;connection master;insert into t1 values (NULL),(NULL);flush logs;truncate table t1;insert into t1 values (10),(NULL),(NULL),(NULL),(NULL),(NULL);sync_slave_with_master;select * from t1;connection master;drop table t1,t2;sync_slave_with_master;# End of 4.1 tests
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?