mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
refs #5974, some test fixes
git-svn-id: file:///svn/mysql/tests/mysql-test@53011 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7704c77ae1
commit
9292adb47c
4 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||||
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;
|
||||||
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;
|
||||||
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue