mirror of
https://github.com/MariaDB/server.git
synced 2025-12-19 22:42:44 +03:00
git-svn-id: file:///svn/mysql/tests/mysql-test@34983 c7de825b-a66e-492c-adef-691d508d4ae1
18 lines
560 B
Plaintext
18 lines
560 B
Plaintext
# 9/22/2011
|
|
# Test that getting and setting the value for
|
|
# blocking row lock timeout works correctly.
|
|
|
|
set storage_engine='tokudb';
|
|
|
|
# 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=30000000;
|
|
select @@tokudb_lock_timeout;
|