2009-05-14 11:31:43 +00:00
|
|
|
#
|
|
|
|
# Bug#42101 Race condition in innodb_commit_concurrency
|
|
|
|
# http://bugs.mysql.com/42101
|
|
|
|
#
|
|
|
|
|
|
|
|
-- source include/have_innodb.inc
|
|
|
|
|
|
|
|
set global innodb_commit_concurrency=0;
|
|
|
|
select @@innodb_commit_concurrency;
|
|
|
|
--error ER_WRONG_ARGUMENTS
|
|
|
|
set global innodb_commit_concurrency=1;
|
|
|
|
select @@innodb_commit_concurrency;
|
|
|
|
--error ER_WRONG_ARGUMENTS
|
|
|
|
set global innodb_commit_concurrency=42;
|
|
|
|
select @@innodb_commit_concurrency;
|
|
|
|
set global innodb_commit_concurrency=0;
|
|
|
|
select @@innodb_commit_concurrency;
|
2009-06-25 11:55:52 +00:00
|
|
|
set global innodb_commit_concurrency=DEFAULT;
|
|
|
|
select @@innodb_commit_concurrency;
|