rpl000011.test
Upload User: romrleung
Upload Date: 2022-05-23
Package Size: 18897k
Code Size: 0k
Category:

MySQL

Development Platform:

Visual C++

  1. source include/master-slave.inc;
  2. create table t1 (n int);
  3. insert into t1 values(1);
  4. sync_slave_with_master; 
  5. stop slave;
  6. start slave;
  7. connection master;
  8. insert into t1 values(2);
  9. #let slave catch up
  10. sync_slave_with_master;
  11. select * from t1;
  12. connection master;
  13. drop table t1;
  14. sync_slave_with_master;
  15. # End of 4.1 tests