mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
merged a few more fixes of test cases for configuration changes
This commit is contained in:
commit
b353b37ddd
3 changed files with 6 additions and 6 deletions
|
@ -1782,7 +1782,7 @@ Variable_name Value
|
|||
innodb_sync_spin_loops 20
|
||||
show variables like "innodb_thread_concurrency";
|
||||
Variable_name Value
|
||||
innodb_thread_concurrency 8
|
||||
innodb_thread_concurrency 0
|
||||
set global innodb_thread_concurrency=1001;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect thread_concurrency value: '1001'
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
SET @global_start_value = @@global.innodb_thread_concurrency;
|
||||
SELECT @global_start_value;
|
||||
@global_start_value
|
||||
8
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_01------------------------#'
|
||||
SET @@global.innodb_thread_concurrency = 0;
|
||||
SET @@global.innodb_thread_concurrency = DEFAULT;
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
8
|
||||
0
|
||||
'#---------------------FN_DYNVARS_046_02-------------------------#'
|
||||
SET innodb_thread_concurrency = 1;
|
||||
ERROR HY000: Variable 'innodb_thread_concurrency' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
SELECT @@innodb_thread_concurrency;
|
||||
@@innodb_thread_concurrency
|
||||
8
|
||||
0
|
||||
SELECT local.innodb_thread_concurrency;
|
||||
ERROR 42S02: Unknown table 'local' in field list
|
||||
SET global innodb_thread_concurrency = 0;
|
||||
|
@ -93,4 +93,4 @@ SELECT @@global.innodb_thread_concurrency;
|
|||
SET @@global.innodb_thread_concurrency = @global_start_value;
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
8
|
||||
0
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Scope: GLOBAL #
|
||||
# Access Type: Dynamic #
|
||||
# Data Type: Numeric #
|
||||
# Default Value: 8 #
|
||||
# Default Value: 0 #
|
||||
# Range: 0-1000 #
|
||||
# #
|
||||
# #
|
||||
|
|
Loading…
Add table
Reference in a new issue