mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
458ced9f34
mysql-test/mysql-test-run.sh: Added --rpl option which tests all t/rpl*.test tests.
22 lines
642 B
Text
22 lines
642 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;
|
|
sync_slave_with_master;
|
|
show variables like 'rpl_recovery_rank';
|
|
show status like 'Rpl_status';
|
|
connection slave_sec;
|
|
start slave;
|
|
sync_with_master;
|
|
show variables like 'rpl_recovery_rank';
|
|
show status like 'Rpl_status';
|
|
connection slave_ter;
|
|
start slave;
|
|
sync_with_master;
|
|
show variables like 'rpl_recovery_rank';
|
|
show status like 'Rpl_status';
|