2001-10-11 21:54:06 +02:00
|
|
|
require_manager;
|
2001-10-08 21:07:50 +02:00
|
|
|
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);
|
2001-10-08 21:07:50 +02:00
|
|
|
connection master;
|
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 23:36:35 +02:00
|
|
|
show status like 'Rpl_status';
|
2001-10-11 21:54:06 +02:00
|
|
|
create table t1(n int);
|
|
|
|
drop table t1;
|
2002-10-25 01:46:14 +02:00
|
|
|
sync_slave_with_master;
|
2001-10-08 21:07:50 +02:00
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 23:36:35 +02:00
|
|
|
show status like 'Rpl_status';
|
2001-10-10 00:43:05 +02:00
|
|
|
connection slave_sec;
|
2002-10-25 01:46:14 +02:00
|
|
|
start slave;
|
2001-10-11 21:54:06 +02:00
|
|
|
sync_with_master;
|
2001-10-10 00:43:05 +02:00
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 23:36:35 +02:00
|
|
|
show status like 'Rpl_status';
|
2001-10-10 00:43:05 +02:00
|
|
|
connection slave_ter;
|
2002-10-25 01:46:14 +02:00
|
|
|
start slave;
|
2001-10-11 21:54:06 +02:00
|
|
|
sync_with_master;
|
2001-10-10 00:43:05 +02:00
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 23:36:35 +02:00
|
|
|
show status like 'Rpl_status';
|
2005-07-28 02:22:47 +02:00
|
|
|
|
|
|
|
# End of 4.1 tests
|