bug#27571

tests fixing: refreshing the results file.
parent ba8fc4fe
...@@ -68,7 +68,11 @@ get_lock("a", 20) ...@@ -68,7 +68,11 @@ get_lock("a", 20)
1 1
set @b= 0; set @b= 0;
update t4 set b=b + bug27563(b); update t4 set b=b + bug27563(b);
select count(*) FROM INFORMATION_SCHEMA.PROCESSLIST where state='User lock';
count(*)
1
kill query ID; kill query ID;
ERROR 70100: Query execution was interrupted
select * from t4 order by b /* must be (1,1), (1,2) */; select * from t4 order by b /* must be (1,1), (1,2) */;
a b a b
1 1 1 1
...@@ -101,7 +105,11 @@ get_lock("a", 20) ...@@ -101,7 +105,11 @@ get_lock("a", 20)
1 1
set @b= 0; set @b= 0;
delete from t4 where b=bug27563(1) or b=bug27563(2); delete from t4 where b=bug27563(1) or b=bug27563(2);
select count(*) FROM INFORMATION_SCHEMA.PROCESSLIST where state='User lock';
count(*)
1
kill query ID; kill query ID;
ERROR 70100: Query execution was interrupted
select count(*) from t4 /* must be 1 */; select count(*) from t4 /* must be 1 */;
count(*) count(*)
1 1
......
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