mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
Fix test for binary builds
mysql-test/r/rpl_change_master.result: Updated results
This commit is contained in:
parent
a71285a7b3
commit
c61d96d5ba
2 changed files with 7 additions and 5 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue