Commit 9d0dce89 authored by John Esmet's avatar John Esmet

[t:3453] updated mysqltest scripts and results


git-svn-id: file:///svn/mysql/tests/mysql-test@34983 c7de825b-a66e-492c-adef-691d508d4ae1
parent 87b93d48
...@@ -72,3 +72,7 @@ a b ...@@ -72,3 +72,7 @@ a b
3 30 3 30
4 16 4 16
drop table t; drop table t;
set global tokudb_lock_timeout=30000000;
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
30000000
...@@ -14,3 +14,7 @@ set global tokudb_lock_timeout=1000000; ...@@ -14,3 +14,7 @@ set global tokudb_lock_timeout=1000000;
select @@tokudb_lock_timeout; select @@tokudb_lock_timeout;
@@tokudb_lock_timeout @@tokudb_lock_timeout
1000000 1000000
set global tokudb_lock_timeout=30000000;
select @@tokudb_lock_timeout;
@@tokudb_lock_timeout
30000000
...@@ -89,6 +89,6 @@ select * from t; ...@@ -89,6 +89,6 @@ select * from t;
connection conn1; connection conn1;
drop table t; drop table t;
# TODO: How do I... # Make sure we reset the default lock timeout, too
# 3.) Assert that some mysql code should return an error (ie: timeout) set global tokudb_lock_timeout=30000000;
# 4.) Have a connection in mysql-test sleep for n seconds select @@tokudb_lock_timeout;
# 9/22/2011 # 9/22/2011
# Test that blocking row locks work correctly. # Test that getting and setting the value for
# blocking row lock timeout works correctly.
set storage_engine='tokudb'; set storage_engine='tokudb';
...@@ -12,3 +13,5 @@ select @@tokudb_lock_timeout; ...@@ -12,3 +13,5 @@ select @@tokudb_lock_timeout;
# settle on a 2 second timeout going forward # settle on a 2 second timeout going forward
set global tokudb_lock_timeout=1000000; set global tokudb_lock_timeout=1000000;
select @@tokudb_lock_timeout; select @@tokudb_lock_timeout;
set global tokudb_lock_timeout=30000000;
select @@tokudb_lock_timeout;
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