Commit e0ae0d11 authored by Rich Prohaska's avatar Rich Prohaska

#4013 change the blocking lock time units to milliseconds refs[t:4013]

git-svn-id: file:///svn/mysql/tests/mysql-test@35675 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0c6e8943
......@@ -955,7 +955,7 @@ a b
4 100
5 25
6 36
set global tokudb_lock_timeout=500000;
set global tokudb_lock_timeout=500;
begin;
select * from t where a=1 for update;
a b
......@@ -2063,4 +2063,4 @@ update t set b=b where a>=2 and a<=4;
update t set b=b where a>=0 and a<=3;
commit;
drop table t;
set global tokudb_lock_timeout=30000000;
set global tokudb_lock_timeout=4000;
......@@ -729,8 +729,8 @@ update t set b=b where a<=2;
select * from t;
connection conn1;
# testing with timeout 500000
set global tokudb_lock_timeout=500000;
# testing with timeout 500
set global tokudb_lock_timeout=500;
# testing each point query vs each point query
# testing conflict "select for update" vs. "select for update"
......@@ -1747,5 +1747,5 @@ connection conn2;
reap;
# clean it all up
drop table t;
set global tokudb_lock_timeout=30000000;
set global tokudb_lock_timeout=4000;
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