diff options
author | unknown <dkatz@damien-katzs-computer.local> | 2007-07-19 15:25:54 -0400 |
---|---|---|
committer | unknown <dkatz@damien-katzs-computer.local> | 2007-07-19 15:25:54 -0400 |
commit | 4740e005a0bff2f89b484634adfcd25f34ba15d9 (patch) | |
tree | 1ad4833eba7e6c4735a8326ef94c02dde1b16cab /mysql-test/t/status.test | |
parent | 154908d84da15095200468fb5cd2086ca96ccd1f (diff) | |
download | mariadb-git-4740e005a0bff2f89b484634adfcd25f34ba15d9.tar.gz |
Bug #29910 Sporadic test failure in status.test
mysql-test/t/status.test:
Fixed test to correctly wait for right server process and state.
Diffstat (limited to 'mysql-test/t/status.test')
-rw-r--r-- | mysql-test/t/status.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/status.test b/mysql-test/t/status.test index 1208393aa09..9fd54d4766d 100644 --- a/mysql-test/t/status.test +++ b/mysql-test/t/status.test @@ -22,13 +22,13 @@ connection con2; lock tables t1 read; unlock tables; lock tables t1 read; -let $ID= `select connection_id()`; connection con1; +let $ID= `select connection_id()`; --send update t1 set n = 3; connection con2; # 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 unlock tables; connection con1; |