Commit 81de3651 authored by Zardosht Kasheff's avatar Zardosht Kasheff

[t:4208], fix a couple of tests

git-svn-id: file:///svn/mysql/tests/mysql-test@37436 c7de825b-a66e-492c-adef-691d508d4ae1
parent 65052559
......@@ -42,9 +42,11 @@ checksum table foo;
Table Checksum
test.foo 149057747
set session transaction isolation level serializable;
begin;
select * from foo;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
# should be NULl
commit;
# should be NULL
checksum table foo;
Table Checksum
test.foo NULL
......
......@@ -11,8 +11,10 @@ insert into foo values (1);
begin;
insert into foo values (2);
set session transaction isolation level serializable;
begin;
select * from foo;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
commit;
set session transaction isolation level read uncommitted;
select * from foo;
a
......
......@@ -34,9 +34,11 @@ select * from foo;
checksum table foo;
set session transaction isolation level serializable;
begin;
--error ER_LOCK_WAIT_TIMEOUT
select * from foo;
--echo # should be NULl
commit;
--echo # should be NULL
checksum table foo;
......
......@@ -19,8 +19,10 @@ insert into foo values (2);
connection conn1;
set session transaction isolation level serializable;
begin;
--error ER_LOCK_WAIT_TIMEOUT
select * from foo;
commit;
set session transaction isolation level read uncommitted;
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