2011-09-22 20:26:19 +00:00
|
|
|
# 9/22/2011
|
2011-09-23 14:50:54 +00:00
|
|
|
# Test that getting and setting the value for
|
|
|
|
# blocking row lock timeout works correctly.
|
2011-09-22 20:26:19 +00:00
|
|
|
|
|
|
|
# Make sure we can read/write the global lock timeout system variable
|
|
|
|
select @@tokudb_lock_timeout;
|
|
|
|
set global tokudb_lock_timeout=1234567;
|
|
|
|
select @@tokudb_lock_timeout;
|
2011-10-06 17:27:54 +00:00
|
|
|
set global tokudb_lock_timeout=0;
|
|
|
|
select @@tokudb_lock_timeout;
|
2011-09-22 20:26:19 +00:00
|
|
|
set global tokudb_lock_timeout=5000000;
|
|
|
|
select @@tokudb_lock_timeout;
|
|
|
|
set global tokudb_lock_timeout=1000000;
|
|
|
|
select @@tokudb_lock_timeout;
|
2011-10-06 17:27:54 +00:00
|
|
|
set global tokudb_lock_timeout=4000;
|
2011-09-23 14:50:54 +00:00
|
|
|
select @@tokudb_lock_timeout;
|