Commit 99ff2745 authored by Vasil Dimov's avatar Vasil Dimov

Update mysql-test innodb_bug42101-nonzero to match the latest behavior

(different error number).
parent b35e0918
set global innodb_commit_concurrency=0; set global innodb_commit_concurrency=0;
ERROR HY000: Incorrect arguments to SET ERROR 42000: Variable 'innodb_commit_concurrency' can't be set to the value of '0'
select @@innodb_commit_concurrency; select @@innodb_commit_concurrency;
@@innodb_commit_concurrency @@innodb_commit_concurrency
1 1
...@@ -16,7 +16,7 @@ select @@innodb_commit_concurrency; ...@@ -16,7 +16,7 @@ select @@innodb_commit_concurrency;
@@innodb_commit_concurrency @@innodb_commit_concurrency
1 1
set global innodb_commit_concurrency=0; set global innodb_commit_concurrency=0;
ERROR HY000: Incorrect arguments to SET ERROR 42000: Variable 'innodb_commit_concurrency' can't be set to the value of '0'
select @@innodb_commit_concurrency; select @@innodb_commit_concurrency;
@@innodb_commit_concurrency @@innodb_commit_concurrency
1 1
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
-- source include/have_innodb.inc -- source include/have_innodb.inc
--error ER_WRONG_ARGUMENTS --error ER_WRONG_VALUE_FOR_VAR
set global innodb_commit_concurrency=0; set global innodb_commit_concurrency=0;
select @@innodb_commit_concurrency; select @@innodb_commit_concurrency;
set global innodb_commit_concurrency=1; set global innodb_commit_concurrency=1;
...@@ -14,7 +14,7 @@ set global innodb_commit_concurrency=42; ...@@ -14,7 +14,7 @@ set global innodb_commit_concurrency=42;
select @@innodb_commit_concurrency; select @@innodb_commit_concurrency;
set global innodb_commit_concurrency=DEFAULT; set global innodb_commit_concurrency=DEFAULT;
select @@innodb_commit_concurrency; select @@innodb_commit_concurrency;
--error ER_WRONG_ARGUMENTS --error ER_WRONG_VALUE_FOR_VAR
set global innodb_commit_concurrency=0; set global innodb_commit_concurrency=0;
select @@innodb_commit_concurrency; select @@innodb_commit_concurrency;
set global innodb_commit_concurrency=1; set global innodb_commit_concurrency=1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment