summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/concurrent_innodb_safelog.test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/main/concurrent_innodb_safelog.test
parentInitial commit. (diff)
downloadmariadb-3f619478f796eddbba6e39502fe941b285dd97b1.tar.xz
mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/main/concurrent_innodb_safelog.test')
-rw-r--r--mysql-test/main/concurrent_innodb_safelog.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/main/concurrent_innodb_safelog.test b/mysql-test/main/concurrent_innodb_safelog.test
new file mode 100644
index 00000000..d590dfa6
--- /dev/null
+++ b/mysql-test/main/concurrent_innodb_safelog.test
@@ -0,0 +1,24 @@
+# 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;
+
+SET @save_timeout = @@GLOBAL.innodb_lock_wait_timeout;
+SET GLOBAL innodb_lock_wait_timeout = 1;
+SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ;
+--disable_service_connection
+--source include/concurrent.inc
+--enable_service_connection
+SET GLOBAL innodb_lock_wait_timeout = @save_timeout;