Commit 8e3872f3 authored by unknown's avatar unknown

Fixed bad merge and fixed some wrong test cases


mysql-test/t/rpl_magic.test:
  Added missing drop table
mysql-test/t/rpl_mystery22.test:
  Added missing drop table
mysql-test/t/rpl_sporadic_master.test:
  Fixed bad merge
parent 61c04f0e
...@@ -28,3 +28,4 @@ disable_rpl_parse; ...@@ -28,3 +28,4 @@ disable_rpl_parse;
select * from t1; select * from t1;
connection slave; connection slave;
select * from t1; select * from t1;
drop table t1;
# test case to make slave thread get ahead by 22 bytes # test case to make slave thread get ahead by 22 bytes
drop table if exists t1;
source include/master-slave.inc; source include/master-slave.inc;
connection master; connection master;
# first, cause a duplicate key problem on the slave # first, cause a duplicate key problem on the slave
......
...@@ -19,9 +19,7 @@ connection master; ...@@ -19,9 +19,7 @@ connection master;
insert into t1 values (NULL),(NULL); insert into t1 values (NULL),(NULL);
flush logs; flush logs;
truncate table t1; truncate table t1;
insert into t1 values (10),(NULL); insert into t1 values (10),(NULL),(NULL),(NULL),(NULL),(NULL);
insert into t1 values (NULL),(NULL)
insert into t1 values (NULL),(NULL);
save_master_pos; save_master_pos;
connection slave; connection slave;
sync_with_master; sync_with_master;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment