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:
Elena Stepanova 2017-02-21 15:03:34 +02:00
parent 13493078e9
commit 6dc00f97b7
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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