Commit e9e5e7fc authored by Sergei Petrunia's avatar Sergei Petrunia

Post-merge fix: MariaDB doesn't have I_S.PROCESSLIST.SRV_ID

parent 9ab0d7b4
......@@ -54,7 +54,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection con2;
let $wait_condition =
SELECT 1 FROM information_schema.processlist
WHERE (id = $ID OR srv_id = $ID) AND state = "Sending data";
WHERE (id = $ID/* OR srv_id = $ID*/) AND state = "Sending data";
--source include/wait_condition.inc
eval SET SESSION TRANSACTION ISOLATION LEVEL $isolation_level;
UPDATE t0 SET VALUE=VALUE+1 WHERE id=190000;
......
......@@ -54,7 +54,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection con2;
let $wait_condition =
SELECT 1 FROM information_schema.processlist
WHERE (id = $ID OR srv_id = $ID) AND state = "Sending data";
WHERE (id = $ID/* OR srv_id = $ID*/) AND state = "Sending data";
--source include/wait_condition.inc
eval SET SESSION TRANSACTION ISOLATION LEVEL $isolation_level;
INSERT INTO t0 VALUES(200001,1), (-1,1);
......
......@@ -57,7 +57,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection con2;
let $wait_condition =
SELECT 1 FROM information_schema.processlist
WHERE (id = $ID OR srv_id = $ID) AND state = "Sending data";
WHERE (id = $ID /* OR srv_id = $ID*/) AND state = "Sending data";
--source include/wait_condition.inc
eval SET SESSION TRANSACTION ISOLATION LEVEL $isolation_level;
BEGIN;
......
......@@ -57,7 +57,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection con2;
let $wait_condition =
SELECT 1 FROM information_schema.processlist
WHERE (id = $ID OR srv_id = $ID) AND state = "Sending data";
WHERE (id = $ID/* OR srv_id = $ID*/) AND state = "Sending data";
--source include/wait_condition.inc
eval SET SESSION TRANSACTION ISOLATION LEVEL $isolation_level;
BEGIN;
......
......@@ -1114,7 +1114,7 @@ update t1 set a = sleep(100) where pk = 1;
--connect (con1,localhost,root,,)
let $wait_condition= select State='User sleep' from information_schema.processlist where id=$con_id or srv_id=$con_id;
let $wait_condition= select State='User sleep' from information_schema.processlist where id=$con_id/* or srv_id=$con_id*/;
--source include/wait_condition.inc
--echo kill query \$con_id;
......
......@@ -29,7 +29,7 @@ begin;
let $wait_condition=
select 1 from INFORMATION_SCHEMA.PROCESSLIST
where (ID = $ID or SRV_ID = $ID) and STATE = "Waiting for row lock";
where (ID = $ID /* or SRV_ID = $ID */) and STATE = "Waiting for row lock";
--source include/wait_condition.inc
## Waiting for row lock
## select connection_id();
......
......@@ -30,7 +30,7 @@ send insert into t1 values (1,2);
connection con1;
let $wait_condition= select 1 from INFORMATION_SCHEMA.PROCESSLIST
where (ID = $ID or SRV_ID = $ID)
where (ID = $ID /* or SRV_ID = $ID*/)
and STATE = "Waiting for row lock";
--source include/wait_condition.inc
commit;
......
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