From 5243883431a4b91b38eabfc4f3c1f88fad3dc7d2 Mon Sep 17 00:00:00 2001 From: Rich Prohaska Date: Tue, 25 Feb 2014 17:03:10 -0500 Subject: Tokutek/mysql#23 fix a race condition in the i_s_tokudb_lock_waits_released test --- mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mysql-test') diff --git a/mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test b/mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test index 50e17b1af7a..ff0a3b23278 100644 --- a/mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test +++ b/mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test @@ -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; -- cgit v1.2.1