Commit b353b37d authored by Mikael Ronstrom's avatar Mikael Ronstrom

merged a few more fixes of test cases for configuration changes

parents 349edf27 c2703aaa
...@@ -1782,7 +1782,7 @@ Variable_name Value ...@@ -1782,7 +1782,7 @@ Variable_name Value
innodb_sync_spin_loops 20 innodb_sync_spin_loops 20
show variables like "innodb_thread_concurrency"; show variables like "innodb_thread_concurrency";
Variable_name Value Variable_name Value
innodb_thread_concurrency 8 innodb_thread_concurrency 0
set global innodb_thread_concurrency=1001; set global innodb_thread_concurrency=1001;
Warnings: Warnings:
Warning 1292 Truncated incorrect thread_concurrency value: '1001' Warning 1292 Truncated incorrect thread_concurrency value: '1001'
......
SET @global_start_value = @@global.innodb_thread_concurrency; SET @global_start_value = @@global.innodb_thread_concurrency;
SELECT @global_start_value; SELECT @global_start_value;
@global_start_value @global_start_value
8 0
'#--------------------FN_DYNVARS_046_01------------------------#' '#--------------------FN_DYNVARS_046_01------------------------#'
SET @@global.innodb_thread_concurrency = 0; SET @@global.innodb_thread_concurrency = 0;
SET @@global.innodb_thread_concurrency = DEFAULT; SET @@global.innodb_thread_concurrency = DEFAULT;
SELECT @@global.innodb_thread_concurrency; SELECT @@global.innodb_thread_concurrency;
@@global.innodb_thread_concurrency @@global.innodb_thread_concurrency
8 0
'#---------------------FN_DYNVARS_046_02-------------------------#' '#---------------------FN_DYNVARS_046_02-------------------------#'
SET innodb_thread_concurrency = 1; SET innodb_thread_concurrency = 1;
ERROR HY000: Variable 'innodb_thread_concurrency' is a GLOBAL variable and should be set with SET GLOBAL ERROR HY000: Variable 'innodb_thread_concurrency' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@innodb_thread_concurrency; SELECT @@innodb_thread_concurrency;
@@innodb_thread_concurrency @@innodb_thread_concurrency
8 0
SELECT local.innodb_thread_concurrency; SELECT local.innodb_thread_concurrency;
ERROR 42S02: Unknown table 'local' in field list ERROR 42S02: Unknown table 'local' in field list
SET global innodb_thread_concurrency = 0; SET global innodb_thread_concurrency = 0;
...@@ -93,4 +93,4 @@ SELECT @@global.innodb_thread_concurrency; ...@@ -93,4 +93,4 @@ SELECT @@global.innodb_thread_concurrency;
SET @@global.innodb_thread_concurrency = @global_start_value; SET @@global.innodb_thread_concurrency = @global_start_value;
SELECT @@global.innodb_thread_concurrency; SELECT @@global.innodb_thread_concurrency;
@@global.innodb_thread_concurrency @@global.innodb_thread_concurrency
8 0
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Scope: GLOBAL # # Scope: GLOBAL #
# Access Type: Dynamic # # Access Type: Dynamic #
# Data Type: Numeric # # Data Type: Numeric #
# Default Value: 8 # # Default Value: 0 #
# Range: 0-1000 # # Range: 0-1000 #
# # # #
# # # #
......
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