mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
branches/zip: Merge revisions 6921:6924 from branches/5.1:
------------------------------------------------------------------------ r6924 | mmakela | 2010-03-31 15:28:25 +0300 (Wed, 31 Mar 2010) | 1 line Changed paths: M /branches/5.1/mysql-test/innodb_bug51920.test branches/5.1: innodb_bug51920.test: Fix a race condition. ------------------------------------------------------------------------
This commit is contained in:
parent
bdbd9cfff3
commit
0e4721972b
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ connection con1;
|
|||
UPDATE bug51920 SET i=2;
|
||||
|
||||
connection default;
|
||||
let $wait_condition =
|
||||
SELECT COUNT(*)=1 FROM information_schema.processlist
|
||||
WHERE INFO="UPDATE bug51920 SET i=2";
|
||||
-- source include/wait_condition.inc
|
||||
|
||||
SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST
|
||||
WHERE INFO="UPDATE bug51920 SET i=2"
|
||||
INTO @thread_id;
|
||||
|
|
Loading…
Add table
Reference in a new issue