Fix test for binary builds

mysql-test/r/rpl_change_master.result:
  Updated results
This commit is contained in:
unknown 2003-11-23 21:03:10 +02:00
commit c61d96d5ba
2 changed files with 7 additions and 5 deletions

View file

@ -4,15 +4,17 @@ connection slave;
select get_lock("a",5);
connection master;
create table t1(n int);
insert into t1 values(1+get_lock("a",10)*0);
insert into t1 values(1+get_lock("a",15)*0);
insert into t1 values(2);
save_master_pos;
connection slave;
sleep 3; # can't sync_with_master as we should be blocked
--real_sleep 3; # can't sync_with_master as we should be blocked
stop slave;
select * from t1;
--replace_result $MASTER_MYPORT MASTER_MYPORT
show slave status;
change master to master_user='root';
--replace_result $MASTER_MYPORT MASTER_MYPORT
show slave status;
# Will restart from after the values(2), which is bug
select release_lock("a");