mariadb/mysql-test/suite/tokudb.locks/t/blocking-row-locks-getset.test

16 lines
529 B
Text
Raw Normal View History

# 9/22/2011
# Test that getting and setting the value for
# blocking row lock timeout works correctly.
# 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;
set global tokudb_lock_timeout=5000000;
select @@tokudb_lock_timeout;
# settle on a 2 second timeout going forward
set global tokudb_lock_timeout=1000000;
select @@tokudb_lock_timeout;
set global tokudb_lock_timeout=4000000;
select @@tokudb_lock_timeout;