mariadb/mysql-test/t/rpl_failsafe.test

25 lines
671 B
Text
Raw Normal View History

require_manager;
source include/master-slave.inc;
2001-10-10 00:43:05 +02:00
connect (slave_sec,localhost,root,,test,0,slave.sock-1);
connect (slave_ter,localhost,root,,test,0,slave.sock-2);
connection master;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
create table t1(n int);
drop table t1;
save_master_pos;
connection slave;
sync_with_master;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
2001-10-10 00:43:05 +02:00
connection slave_sec;
slave start;
sync_with_master;
2001-10-10 00:43:05 +02:00
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
2001-10-10 00:43:05 +02:00
connection slave_ter;
slave start;
sync_with_master;
2001-10-10 00:43:05 +02:00
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';