MDEV-11774 tokudb.locks-select-update-3 failed in buildbot with lock wait timeout
Increase tokudb_lock_timeout for the test
This commit is contained in:
parent
13493078e9
commit
6dc00f97b7
@ -8,6 +8,7 @@ select * from t where a=1 for update;
|
||||
a b
|
||||
1 0
|
||||
update t set b=b+1 where a=1;
|
||||
set session tokudb_lock_timeout= 60000;
|
||||
set session transaction isolation level read committed;
|
||||
begin;
|
||||
select * from t where a=1 for update;
|
||||
|
@ -15,6 +15,7 @@ select * from t where a=1 for update;
|
||||
# t2 update
|
||||
update t set b=b+1 where a=1;
|
||||
connect(conn1,localhost,root);
|
||||
set session tokudb_lock_timeout= 60000;
|
||||
set session transaction isolation level read committed;
|
||||
begin;
|
||||
# t2 select for update, should hang until t1 commits
|
||||
|
Loading…
x
Reference in New Issue
Block a user