Bug #29910 Sporadic test failure in status.test

parent e5d23da4
...@@ -22,13 +22,13 @@ connection con2; ...@@ -22,13 +22,13 @@ connection con2;
lock tables t1 read; lock tables t1 read;
unlock tables; unlock tables;
lock tables t1 read; lock tables t1 read;
let $ID= `select connection_id()`;
connection con1; connection con1;
let $ID= `select connection_id()`;
--send --send
update t1 set n = 3; update t1 set n = 3;
connection con2; connection con2;
# wait for the other query to start executing # wait for the other query to start executing
let $wait_condition= select 1 from INFORMATION_SCHEMA.PROCESSLIST where ID = $ID and STATE = 0; let $wait_condition= select 1 from INFORMATION_SCHEMA.PROCESSLIST where ID = $ID and STATE = "Locked";
--source include/wait_condition.inc --source include/wait_condition.inc
unlock tables; unlock tables;
connection con1; connection con1;
......
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