mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
altered syntax from SLAVE START|STOP to START|STOP SLAVE
mysql-test/mysql-test-run.sh: Added --rpl option which tests all t/rpl*.test tests.
This commit is contained in:
@ -2,7 +2,7 @@ source include/master-slave.inc;
|
||||
|
||||
#clean up slave binlogs
|
||||
connection slave;
|
||||
slave stop;
|
||||
stop slave;
|
||||
reset master;
|
||||
reset slave;
|
||||
let $VERSION=`select version()`;
|
||||
@ -26,10 +26,10 @@ flush logs;
|
||||
|
||||
save_master_pos;
|
||||
connection slave;
|
||||
slave start;
|
||||
start slave;
|
||||
sync_with_master;
|
||||
flush logs;
|
||||
slave stop;
|
||||
stop slave;
|
||||
connection master;
|
||||
|
||||
# Create some entries for second log
|
||||
@ -43,7 +43,7 @@ show binlog events in 'master-bin.002';
|
||||
show master logs;
|
||||
save_master_pos;
|
||||
connection slave;
|
||||
slave start;
|
||||
start slave;
|
||||
sync_with_master;
|
||||
show master logs;
|
||||
--replace_result 3306 MASTER_PORT 9306 MASTER_PORT 3334 MASTER_PORT 3336 MASTER_PORT $VERSION VERSION
|
||||
|
Reference in New Issue
Block a user