rpl000010.test
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 1k
Category:

MySQL

Development Platform:

Visual C++

  1. #this tests the offset off by 22 mystery bug
  2. #must run slave with --disconnect-slave-event-count=1 --master-connect-retry=1
  3. source include/master-slave.inc;
  4. connection slave;
  5. drop table if exists t1;
  6. connection master;
  7. drop table if exists t1;
  8. create table t1 (n int not null auto_increment primary key);
  9. insert into t1 values(NULL);
  10. insert into t1 values(2);
  11. save_master_pos;
  12. connection slave;
  13. sync_with_master;
  14. @r/rpl000010.result select n from t1;
  15. connection master;
  16. drop table t1;
  17. save_master_pos;
  18. connection slave;
  19. sync_with_master;