Commit 9292adb4 authored by Zardosht Kasheff's avatar Zardosht Kasheff

refs #5974, some test fixes

git-svn-id: file:///svn/mysql/tests/mysql-test@53011 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7704c77a
...@@ -47,13 +47,13 @@ create table foo_isam (a int, b int)engine=MyISAM; ...@@ -47,13 +47,13 @@ create table foo_isam (a int, b int)engine=MyISAM;
begin; begin;
insert into foo_isam select * from foo; insert into foo_isam select * from foo;
insert into foo values (5,5); insert into foo values (5,5);
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
select * from foo; select * from foo;
a b a b
1 1 1 1
2 2 2 2
3 1 3 1
4 3 4 3
5 5
commit; commit;
set session transaction isolation level serializable; set session transaction isolation level serializable;
DROP TABLE foo, foo_isam; DROP TABLE foo, foo_isam;
...@@ -47,13 +47,13 @@ create table foo_isam (a int, b int)engine=MyISAM; ...@@ -47,13 +47,13 @@ create table foo_isam (a int, b int)engine=MyISAM;
begin; begin;
insert into foo_isam select * from foo; insert into foo_isam select * from foo;
insert into foo values (5,5); insert into foo values (5,5);
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
select * from foo; select * from foo;
a b a b
1 1 1 1
2 2 2 2
3 1 3 1
4 3 4 3
5 5
commit; commit;
set session transaction isolation level serializable; set session transaction isolation level serializable;
DROP TABLE foo, foo_isam; DROP TABLE foo, foo_isam;
...@@ -41,7 +41,6 @@ begin; ...@@ -41,7 +41,6 @@ begin;
insert into foo_isam select * from foo; insert into foo_isam select * from foo;
connection default; connection default;
--error ER_LOCK_WAIT_TIMEOUT
insert into foo values (5,5); insert into foo values (5,5);
select * from foo; select * from foo;
......
...@@ -41,7 +41,6 @@ begin; ...@@ -41,7 +41,6 @@ begin;
insert into foo_isam select * from foo; insert into foo_isam select * from foo;
connection default; connection default;
--error ER_LOCK_WAIT_TIMEOUT
insert into foo values (5,5); insert into foo values (5,5);
select * from foo; select * from foo;
......
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