summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb_bug42101-nonzero.test
blob: 2e4cf1f46dd1795af78d1b1b83095b8745d0f7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Bug#42101  	Race condition in innodb_commit_concurrency
# http://bugs.mysql.com/42101
#

-- source include/have_innodb.inc

--error ER_WRONG_VALUE_FOR_VAR
set global innodb_commit_concurrency=0;
select @@innodb_commit_concurrency;
set global innodb_commit_concurrency=1;
select @@innodb_commit_concurrency;
set global innodb_commit_concurrency=42;
select @@innodb_commit_concurrency;
set global innodb_commit_concurrency=DEFAULT;
select @@innodb_commit_concurrency;
--error ER_WRONG_VALUE_FOR_VAR
set global innodb_commit_concurrency=0;
select @@innodb_commit_concurrency;
set global innodb_commit_concurrency=1;
select @@innodb_commit_concurrency;