diff options
Diffstat (limited to 'mysql-test/main/concurrent_innodb_unsafelog.test')
-rw-r--r-- | mysql-test/main/concurrent_innodb_unsafelog.test | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mysql-test/main/concurrent_innodb_unsafelog.test b/mysql-test/main/concurrent_innodb_unsafelog.test index e2c03655e43..eee2295211e 100644 --- a/mysql-test/main/concurrent_innodb_unsafelog.test +++ b/mysql-test/main/concurrent_innodb_unsafelog.test @@ -16,8 +16,12 @@ let $engine_type= InnoDB; -SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; -# innodb_locks_unsafe_for_binlog is set fro this test. +SET @save_timeout = @@GLOBAL.innodb_lock_wait_timeout; +SET GLOBAL innodb_lock_wait_timeout = 1; +SET @save_isolation = @@GLOBAL.tx_isolation; +SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; --source include/concurrent.inc +SET GLOBAL innodb_lock_wait_timeout = @save_timeout; +SET GLOBAL tx_isolation = @save_isolation; |