mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Merge branch 'master' of github.com:Tokutek/ft-engine
This commit is contained in:
commit
c42c51c742
3 changed files with 6 additions and 3 deletions
|
@ -27,7 +27,8 @@ send insert into t values (1);
|
|||
|
||||
# should find the presence of a lock on 1st transaction
|
||||
connection default;
|
||||
real_sleep 1; # give some time for conn_b to block
|
||||
let $wait_condition= select count(*)=1 from information_schema.processlist where info='insert into t values (1)' and state='update';
|
||||
source include/wait_condition.inc;
|
||||
replace_column 1 TRX_ID 2 MYSQL_ID;
|
||||
select * from information_schema.tokudb_locks;
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@ send insert into t values (1);
|
|||
|
||||
# should find the presence of a lock on 1st transaction
|
||||
connection default;
|
||||
real_sleep 1; # give some time for conn_b to get blocked
|
||||
let $wait_condition= select count(*)=1 from information_schema.processlist where info='insert into t values (1)' and state='update';
|
||||
source include/wait_condition.inc;
|
||||
replace_column 1 TRX_ID 2 MYSQL_ID;
|
||||
select * from information_schema.tokudb_locks;
|
||||
|
||||
|
|
|
@ -30,7 +30,8 @@ send insert into t values (1);
|
|||
|
||||
# should find the presence of a lock on 2nd transaction
|
||||
connection default;
|
||||
real_sleep 1; # give some time for conn_b to get blocked
|
||||
let $wait_condition= select count(*)=1 from information_schema.processlist where info='insert into t values (1)' and state='update';
|
||||
source include/wait_condition.inc;
|
||||
replace_column 1 TRX_ID 2 MYSQL_ID;
|
||||
eval select * from information_schema.tokudb_locks;
|
||||
|
||||
|
|
Loading…
Reference in a new issue