Commit 4c77f22c authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

temp commit

parent 0d67738e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
source include/master-slave.inc;
connection master;
create table t1(n int);
create table t2(n int);
insert into t1 values(get_lock("lock",2));
dirty_close master;
connection master1;
select get_lock("lock",2);
select release_lock("lock");
let $1=20000;
while ($1)
{
  select get_lock("lock",2);
  select release_lock("lock");
  dec $1;
}
save_master_pos;
connection slave;
sync_with_master;