diff options
author | nick@mysql.com <> | 2002-10-24 17:46:14 -0600 |
---|---|---|
committer | nick@mysql.com <> | 2002-10-24 17:46:14 -0600 |
commit | 62f36f0221da263496b67e7665656103e71a695e (patch) | |
tree | cddfba9393a1edb985b2e059371f89d6a2abaabe /mysql-test/t/rpl_log_pos.test | |
parent | 6c22ca4454c79db681b376e4f449d9a60ff353bc (diff) | |
download | mariadb-git-62f36f0221da263496b67e7665656103e71a695e.tar.gz |
altered syntax from SLAVE START|STOP to START|STOP SLAVE
Diffstat (limited to 'mysql-test/t/rpl_log_pos.test')
-rw-r--r-- | mysql-test/t/rpl_log_pos.test | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/mysql-test/t/rpl_log_pos.test b/mysql-test/t/rpl_log_pos.test index b96d32c7fca..d320796edd3 100644 --- a/mysql-test/t/rpl_log_pos.test +++ b/mysql-test/t/rpl_log_pos.test @@ -3,25 +3,23 @@ # source include/master-slave.inc; show master status; -save_master_pos; -connection slave; -sync_with_master; +sync_slave_with_master; --replace_result 3306 MASTER_PORT 9306 MASTER_PORT 3334 MASTER_PORT 3336 MASTER_PORT show slave status; change master to master_log_pos=73; sleep 5; -slave stop; +stop slave; change master to master_log_pos=73; --replace_result 3306 MASTER_PORT 9306 MASTER_PORT 3334 MASTER_PORT 3336 MASTER_PORT show slave status; -slave start; +start slave; sleep 5; --replace_result 3306 MASTER_PORT 9306 MASTER_PORT 3334 MASTER_PORT 3336 MASTER_PORT show slave status; change master to master_log_pos=173; --replace_result 3306 MASTER_PORT 9306 MASTER_PORT 3334 MASTER_PORT 3336 MASTER_PORT -slave start; +start slave; sleep 2; --replace_result 3306 MASTER_PORT 9306 MASTER_PORT 3334 MASTER_PORT 3336 MASTER_PORT show slave status; @@ -34,11 +32,9 @@ insert into t1 values (1),(2),(3); save_master_pos; connection slave; change master to master_log_pos=79; -slave start; +start slave; sync_with_master; select * from t1; connection master; drop table t1; -save_master_pos; -connection slave; -sync_with_master; +sync_slave_with_master; |