2009-05-27 15:15:59 +05:30
|
|
|
#
|
|
|
|
# Bug#42101 Race condition in innodb_commit_concurrency
|
|
|
|
# http://bugs.mysql.com/42101
|
|
|
|
#
|
|
|
|
|
2010-04-09 15:56:51 +03:00
|
|
|
-- source include/have_innodb_plugin.inc
|
2009-05-27 15:15:59 +05:30
|
|
|
|
|
|
|
--error ER_WRONG_ARGUMENTS
|
|
|
|
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;
|
2009-07-30 17:42:56 +05:00
|
|
|
set global innodb_commit_concurrency=DEFAULT;
|
|
|
|
select @@innodb_commit_concurrency;
|
2009-05-27 15:15:59 +05:30
|
|
|
--error ER_WRONG_ARGUMENTS
|
|
|
|
set global innodb_commit_concurrency=0;
|
|
|
|
select @@innodb_commit_concurrency;
|
|
|
|
set global innodb_commit_concurrency=1;
|
|
|
|
select @@innodb_commit_concurrency;
|