Skip to content

Commit 6dc00f9

Browse files
committed
MDEV-11774 tokudb.locks-select-update-3 failed in buildbot with lock wait timeout
Increase tokudb_lock_timeout for the test
1 parent 1349307 commit 6dc00f9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

storage/tokudb/mysql-test/tokudb/r/locks-select-update-3.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ select * from t where a=1 for update;
88
a b
99
1 0
1010
update t set b=b+1 where a=1;
11+
set session tokudb_lock_timeout= 60000;
1112
set session transaction isolation level read committed;
1213
begin;
1314
select * from t where a=1 for update;

storage/tokudb/mysql-test/tokudb/t/locks-select-update-3.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ select * from t where a=1 for update;
1515
# t2 update
1616
update t set b=b+1 where a=1;
1717
connect(conn1,localhost,root);
18+
set session tokudb_lock_timeout= 60000;
1819
set session transaction isolation level read committed;
1920
begin;
2021
# t2 select for update, should hang until t1 commits

0 commit comments

Comments
 (0)