Commit 52438834 authored by Rich Prohaska's avatar Rich Prohaska

Tokutek/mysql#23 fix a race condition in the i_s_tokudb_lock_waits_released test

parent e9b9fd90
......@@ -29,6 +29,7 @@ send insert into t values (1);
connection default;
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;
......@@ -74,6 +75,9 @@ send replace into t values (1);
# should find the presence of a lock on 1st transaction
connection default;
let $wait_condition= select count(*)=1 from information_schema.processlist where info='replace 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment