2008-08-15 20:48:14 +02:00
|
|
|
# t/concurrent_innodb_safelog.test
|
|
|
|
#
|
|
|
|
# Concurrent InnoDB tests
|
|
|
|
#
|
|
|
|
# Last update:
|
|
|
|
# 2006-07-26 ML test refactored (MySQL 5.1)
|
|
|
|
# main code t/innodb_concurrent.test -> include/concurrent.inc
|
|
|
|
# new wrapper t/concurrent_innodb.test
|
|
|
|
# 2008-06-03 KP test refactored; removed name locks, added comments.
|
|
|
|
# renamed wrapper t/concurrent_innodb.test ->
|
|
|
|
# t/concurrent_innodb_unsafelog.test
|
|
|
|
# new wrapper t/concurrent_innodb_safelog.test
|
|
|
|
#
|
|
|
|
--source include/have_innodb.inc
|
|
|
|
|
|
|
|
let $engine_type= InnoDB;
|
|
|
|
|
2019-05-22 13:49:38 +02:00
|
|
|
SET @save_timeout = @@GLOBAL.innodb_lock_wait_timeout;
|
|
|
|
SET GLOBAL innodb_lock_wait_timeout = 1;
|
2008-08-15 20:48:14 +02:00
|
|
|
SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ;
|
2022-06-09 05:32:51 +02:00
|
|
|
--disable_service_connection
|
2008-08-15 20:48:14 +02:00
|
|
|
--source include/concurrent.inc
|
2022-06-09 05:32:51 +02:00
|
|
|
--enable_service_connection
|
2019-05-22 13:49:38 +02:00
|
|
|
SET GLOBAL innodb_lock_wait_timeout = @save_timeout;
|