mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
temp commit
This commit is contained in:
parent
0d67738e20
commit
4c77f22c48
1 changed files with 8 additions and 0 deletions
|
@ -1,11 +1,19 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue