mariadb/mysql-test/t/rpl_get_lock.test
sasha@mysql.sashanet.com 0d67738e20 misc cleanup
2001-12-13 17:21:04 -07:00

18 lines
401 B
Text

source include/master-slave.inc;
connection master;
create table t1(n int);
insert into t1 values(get_lock("lock",2));
dirty_close master;
connection master1;
select get_lock("lock",2);
select release_lock("lock");
save_master_pos;
connection slave;
sync_with_master;
select get_lock("lock",3);
select * from t1;
connection master1;
drop table t1;
save_master_pos;
connection slave;
sync_with_master;