mariadb/mysql-test/t/rpl_failsafe.test
sasha@mysql.sashanet.com d10b81bf51 fixes for mysql-test to run without manager
a bit more work on failsafe replication
2001-10-11 13:54:06 -06:00

24 lines
671 B
Text

require_manager;
source include/master-slave.inc;
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';
connection slave_sec;
slave start;
sync_with_master;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
connection slave_ter;
slave start;
sync_with_master;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';