~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/t/innodb_bug42101.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Bug#42101     Race condition in innodb_commit_concurrency
 
3
# http://bugs.mysql.com/42101
 
4
#
 
5
 
 
6
-- source include/have_innodb.inc
 
7
 
 
8
set global innodb_commit_concurrency=0;
 
9
select @@innodb_commit_concurrency;
 
10
--error ER_WRONG_ARGUMENTS
 
11
set global innodb_commit_concurrency=1;
 
12
select @@innodb_commit_concurrency;
 
13
--error ER_WRONG_ARGUMENTS
 
14
set global innodb_commit_concurrency=42;
 
15
select @@innodb_commit_concurrency;
 
16
set global innodb_commit_concurrency=0;
 
17
select @@innodb_commit_concurrency;
 
18
set global innodb_commit_concurrency=DEFAULT;
 
19
select @@innodb_commit_concurrency;