Commit d9fc253c authored by Horst Hunger's avatar Horst Hunger
Browse files

Fix for bug#37708:The result files of the removed 64 bit tests.

parent cb7d9b27
Loading
Loading
Loading
Loading
+0 −100
Original line number Diff line number Diff line
SET @start_value = @@global.binlog_cache_size;
SELECT @start_value;
@start_value
32768
'#--------------------FN_DYNVARS_006_01------------------------#'
SET @@global.binlog_cache_size = 100;
Warnings:
Warning	1292	Truncated incorrect binlog_cache_size value: '100'
SET @@global.binlog_cache_size = DEFAULT;
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
32768
'#---------------------FN_DYNVARS_006_02-------------------------#'
SET @@global.binlog_cache_size = @start_value;
SELECT @@global.binlog_cache_size = 32768;
@@global.binlog_cache_size = 32768
1
'#--------------------FN_DYNVARS_006_03------------------------#'
SET @@global.binlog_cache_size = 4096;
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
4096
SET @@global.binlog_cache_size = 4294967295;
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
4294963200
SET @@global.binlog_cache_size = 10000;
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
8192
SET @@global.binlog_cache_size = 21221204;
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
21217280
'Bug: Invalid values are coming in variable on assigning valid values'
'#--------------------FN_DYNVARS_006_04-------------------------#'
SET @@global.binlog_cache_size = 1024;
Warnings:
Warning	1292	Truncated incorrect binlog_cache_size value: '1024'
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
4096
SET @@global.binlog_cache_size = 10000.01;
ERROR 42000: Incorrect argument type to variable 'binlog_cache_size'
SET @@global.binlog_cache_size = -1024;
Warnings:
Warning	1292	Truncated incorrect binlog_cache_size value: '0'
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
4096
SET @@global.binlog_cache_size = 42949672950;
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
42949668864
'Bug: Errors are not coming on assigning invalid values to variable'
SET @@global.binlog_cache_size = ON;
ERROR 42000: Incorrect argument type to variable 'binlog_cache_size'
SET @@global.binlog_cache_size = 'test';
ERROR 42000: Incorrect argument type to variable 'binlog_cache_size'
'#-------------------FN_DYNVARS_006_05----------------------------#'
SET @@session.binlog_cache_size = 0;
ERROR HY000: Variable 'binlog_cache_size' is a GLOBAL variable and should be set with SET GLOBAL
'#----------------------FN_DYNVARS_006_06------------------------#'
SELECT @@global.binlog_cache_size = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='binlog_cache_size';
@@global.binlog_cache_size = VARIABLE_VALUE
1
'#---------------------FN_DYNVARS_006_07----------------------#'
SET @@global.binlog_cache_size = TRUE;
Warnings:
Warning	1292	Truncated incorrect binlog_cache_size value: '1'
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
4096
SET @@global.binlog_cache_size = FALSE;
Warnings:
Warning	1292	Truncated incorrect binlog_cache_size value: '0'
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
4096
'Bug: Errors are not coming on assigning TRUE/FALSE to variable'
'#---------------------FN_DYNVARS_006_08----------------------#'
SET @@global.binlog_cache_size = 1;
Warnings:
Warning	1292	Truncated incorrect binlog_cache_size value: '1'
SELECT @@binlog_cache_size = @@global.binlog_cache_size;
@@binlog_cache_size = @@global.binlog_cache_size
1
'#---------------------FN_DYNVARS_006_09----------------------#'
SET binlog_cache_size = 1;
ERROR HY000: Variable 'binlog_cache_size' is a GLOBAL variable and should be set with SET GLOBAL
SET global.binlog_cache_size = 1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binlog_cache_size = 1' at line 1
SELECT global.binlog_cache_size;
ERROR 42S02: Unknown table 'global' in field list
SELECT binlog_cache_size = @@session.binlog_cache_size;
ERROR 42S22: Unknown column 'binlog_cache_size' in 'field list'
SET @@global.binlog_cache_size = @start_value;
SELECT @@global.binlog_cache_size;
@@global.binlog_cache_size
32768
+0 −150
Original line number Diff line number Diff line
SET @start_global_value = @@global.bulk_insert_buffer_size;
SELECT @start_global_value;
@start_global_value
8388608
SET @start_session_value = @@session.bulk_insert_buffer_size;
SELECT @start_session_value;
@start_session_value
8388608
'#--------------------FN_DYNVARS_007_01-------------------------#'
SET @@global.bulk_insert_buffer_size = 100;
SET @@global.bulk_insert_buffer_size = DEFAULT;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
8388608
SET @@session.bulk_insert_buffer_size = 200;
SET @@session.bulk_insert_buffer_size = DEFAULT;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
8388608
'#--------------------FN_DYNVARS_007_02-------------------------#'
SET @@global.bulk_insert_buffer_size = @start_global_value;
SELECT @@global.bulk_insert_buffer_size = 8388608;
@@global.bulk_insert_buffer_size = 8388608
1
SET @@session.bulk_insert_buffer_size = @start_session_value;
SELECT @@session.bulk_insert_buffer_size = 8388608;
@@session.bulk_insert_buffer_size = 8388608
1
'#--------------------FN_DYNVARS_007_03-------------------------#'
SET @@global.bulk_insert_buffer_size = 0;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
0
SET @@global.bulk_insert_buffer_size = 1;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
1
SET @@global.bulk_insert_buffer_size = 4294967295;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
4294967295
SET @@global.bulk_insert_buffer_size = 429496;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
429496
'#--------------------FN_DYNVARS_007_04-------------------------#'
SET @@session.bulk_insert_buffer_size = 0;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
0
SET @@session.bulk_insert_buffer_size = 1;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
1
SET @@session.bulk_insert_buffer_size = 4294967295;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
4294967295
SET @@session.bulk_insert_buffer_size = 429496;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
429496
'#------------------FN_DYNVARS_007_05-----------------------#'
SET @@global.bulk_insert_buffer_size = 42949672950;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
42949672950
SET @@global.bulk_insert_buffer_size = -1024;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
0
SET @@global.bulk_insert_buffer_size = test;
ERROR 42000: Incorrect argument type to variable 'bulk_insert_buffer_size'
SET @@global.bulk_insert_buffer_size = ON;
ERROR 42000: Incorrect argument type to variable 'bulk_insert_buffer_size'
SET @@global.bulk_insert_buffer_size = 429496.10;
ERROR 42000: Incorrect argument type to variable 'bulk_insert_buffer_size'
SET @@session.bulk_insert_buffer_size = 42949672950;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
42949672950
SET @@session.bulk_insert_buffer_size = -2;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
0
'Bug # 34837: Errors are not coming on assigning invalid values to variable'
SET @@session.bulk_insert_buffer_size = test;
ERROR 42000: Incorrect argument type to variable 'bulk_insert_buffer_size'
SET @@session.bulk_insert_buffer_size = 429496.10;
ERROR 42000: Incorrect argument type to variable 'bulk_insert_buffer_size'
'#------------------FN_DYNVARS_007_06-----------------------#'
SELECT @@global.bulk_insert_buffer_size = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='bulk_insert_buffer_size';
@@global.bulk_insert_buffer_size = VARIABLE_VALUE
1
'#------------------FN_DYNVARS_007_07-----------------------#'
SELECT @@session.bulk_insert_buffer_size = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='bulk_insert_buffer_size';
@@session.bulk_insert_buffer_size = VARIABLE_VALUE
1
'#------------------FN_DYNVARS_007_08-----------------------#'
SET @@global.bulk_insert_buffer_size = TRUE;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
1
SET @@global.bulk_insert_buffer_size = FALSE;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
0
SET @@session.bulk_insert_buffer_size = TRUE;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
1
SET @@session.bulk_insert_buffer_size = FALSE;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
0
'#---------------------FN_DYNVARS_007_09----------------------#'
SET @@bulk_insert_buffer_size = 100;
SELECT @@bulk_insert_buffer_size = @@local.bulk_insert_buffer_size;
@@bulk_insert_buffer_size = @@local.bulk_insert_buffer_size
1
SELECT @@local.bulk_insert_buffer_size = @@session.bulk_insert_buffer_size;
@@local.bulk_insert_buffer_size = @@session.bulk_insert_buffer_size
1
'#---------------------FN_DYNVARS_007_10----------------------#'
SET bulk_insert_buffer_size = 1;
SELECT @@bulk_insert_buffer_size;
@@bulk_insert_buffer_size
1
SET local.bulk_insert_buffer_size = 1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bulk_insert_buffer_size = 1' at line 1
SELECT local.bulk_insert_buffer_size;
ERROR 42S02: Unknown table 'local' in field list
SET session.bulk_insert_buffer_size = 1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bulk_insert_buffer_size = 1' at line 1
SELECT session.bulk_insert_buffer_size;
ERROR 42S02: Unknown table 'session' in field list
SELECT bulk_insert_buffer_size = @@session.bulk_insert_buffer_size;
ERROR 42S22: Unknown column 'bulk_insert_buffer_size' in 'field list'
SET @@global.bulk_insert_buffer_size = @start_global_value;
SELECT @@global.bulk_insert_buffer_size;
@@global.bulk_insert_buffer_size
8388608
SET @@session.bulk_insert_buffer_size = @start_session_value;
SELECT @@session.bulk_insert_buffer_size;
@@session.bulk_insert_buffer_size
8388608
+0 −110
Original line number Diff line number Diff line
SET @start_value = @@global.delayed_insert_limit;
SELECT @start_value;
@start_value
100
'#--------------------FN_DYNVARS_024_01------------------------#'
SET @@global.delayed_insert_limit = 100;
SET @@global.delayed_insert_limit = DEFAULT;
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
100
'#---------------------FN_DYNVARS_024_02-------------------------#'
SET @@global.delayed_insert_limit = @start_value;
SELECT @@global.delayed_insert_limit = 100;
@@global.delayed_insert_limit = 100
1
'#--------------------FN_DYNVARS_024_03------------------------#'
SET @@global.delayed_insert_limit = 10000;
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
10000
SET @@global.delayed_insert_limit = 4294967295;
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
4294967295
SET @@global.delayed_insert_limit = 1;
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
1
'#--------------------FN_DYNVARS_024_04-------------------------#'
SET @@global.delayed_insert_limit = 0;
Warnings:
Warning	1292	Truncated incorrect delayed_insert_limit value: '0'
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
1
SET @@global.delayed_insert_limit = -1024;
Warnings:
Warning	1292	Truncated incorrect delayed_insert_limit value: '0'
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
1
SET @@global.delayed_insert_limit = 42949672950;
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
42949672950
'Bug # 34837: Errors are not coming on assigning invalid values to variable'
SET @@global.delayed_insert_limit = 429496729.5;
ERROR 42000: Incorrect argument type to variable 'delayed_insert_limit'
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
42949672950
SET @@global.delayed_insert_limit = ON;
ERROR 42000: Incorrect argument type to variable 'delayed_insert_limit'
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
42949672950
'#-------------------FN_DYNVARS_024_05----------------------------#'
SET @@session.delayed_insert_limit = 0;
ERROR HY000: Variable 'delayed_insert_limit' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@Session.delayed_insert_limit;
ERROR HY000: Variable 'delayed_insert_limit' is a GLOBAL variable
'#----------------------FN_DYNVARS_024_06------------------------#'
SELECT @@global.delayed_insert_limit =
VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='delayed_insert_limit';
@@global.delayed_insert_limit =
VARIABLE_VALUE
1
SELECT @@delayed_insert_limit =
VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='delayed_insert_limit';
@@delayed_insert_limit =
VARIABLE_VALUE
1
'#---------------------FN_DYNVARS_024_07----------------------#'
SET @@global.delayed_insert_limit = TRUE;
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
1
SET @@global.delayed_insert_limit = FALSE;
Warnings:
Warning	1292	Truncated incorrect delayed_insert_limit value: '0'
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
1
'#---------------------FN_DYNVARS_024_08----------------------#'
SET @@global.delayed_insert_limit = 1;
SELECT @@delayed_insert_limit = @@global.delayed_insert_limit;
@@delayed_insert_limit = @@global.delayed_insert_limit
1
'#---------------------FN_DYNVARS_024_09----------------------#'
SET delayed_insert_limit = 1;
ERROR HY000: Variable 'delayed_insert_limit' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@delayed_insert_limit;
@@delayed_insert_limit
1
SET local.delayed_insert_limit = 1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed_insert_limit = 1' at line 1
SELECT local.delayed_insert_limit;
ERROR 42S02: Unknown table 'local' in field list
SET global.delayed_insert_limit = 1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed_insert_limit = 1' at line 1
SELECT global.delayed_insert_limit;
ERROR 42S02: Unknown table 'global' in field list
SELECT delayed_insert_limit = @@session.delayed_insert_limit;
ERROR 42S22: Unknown column 'delayed_insert_limit' in 'field list'
SET @@global.delayed_insert_limit = @start_value;
SELECT @@global.delayed_insert_limit;
@@global.delayed_insert_limit
100
+0 −108
Original line number Diff line number Diff line
SET @start_value = @@global.delayed_queue_size;
SELECT @start_value;
@start_value
1000
'#--------------------FN_DYNVARS_026_01------------------------#'
SET @@global.delayed_queue_size = 100;
SET @@global.delayed_queue_size = DEFAULT;
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
1000
'#---------------------FN_DYNVARS_026_02-------------------------#'
SET @@global.delayed_queue_size = @start_value;
SELECT @@global.delayed_queue_size = 1000;
@@global.delayed_queue_size = 1000
1
'#--------------------FN_DYNVARS_026_03------------------------#'
SET @@global.delayed_queue_size = 10000;
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
10000
SET @@global.delayed_queue_size = 4294967295;
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
4294967295
SET @@global.delayed_queue_size = 1;
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
1
'#--------------------FN_DYNVARS_026_04-------------------------#'
SET @@global.delayed_queue_size = 0;
Warnings:
Warning	1292	Truncated incorrect delayed_queue_size value: '0'
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
1
SET @@global.delayed_queue_size = -1024;
Warnings:
Warning	1292	Truncated incorrect delayed_queue_size value: '0'
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
1
SET @@global.delayed_queue_size = 42949672950;
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
42949672950
'Bug # 34837: Errors are not coming on assigning invalid values to variable'
SET @@global.delayed_queue_size = 429496729.5;
ERROR 42000: Incorrect argument type to variable 'delayed_queue_size'
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
42949672950
SET @@global.delayed_queue_size = ON;
ERROR 42000: Incorrect argument type to variable 'delayed_queue_size'
SELECT @@delayed_queue_size;
@@delayed_queue_size
42949672950
'#-------------------FN_DYNVARS_026_05----------------------------#'
SET @@session.delayed_queue_size = 0;
ERROR HY000: Variable 'delayed_queue_size' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@session.delayed_queue_size;
ERROR HY000: Variable 'delayed_queue_size' is a GLOBAL variable
'#----------------------FN_DYNVARS_026_06------------------------#'
SELECT @@global.delayed_queue_size = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='delayed_queue_size';
@@global.delayed_queue_size = VARIABLE_VALUE
1
SELECT @@delayed_queue_size = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='delayed_queue_size';
@@delayed_queue_size = VARIABLE_VALUE
1
'#---------------------FN_DYNVARS_026_07----------------------#'
SET @@global.delayed_queue_size = TRUE;
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
1
SET @@global.delayed_queue_size = FALSE;
Warnings:
Warning	1292	Truncated incorrect delayed_queue_size value: '0'
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
1
'#---------------------FN_DYNVARS_026_08----------------------#'
SET @@global.delayed_queue_size = 1;
SELECT @@delayed_queue_size = @@global.delayed_queue_size;
@@delayed_queue_size = @@global.delayed_queue_size
1
'#---------------------FN_DYNVARS_026_09----------------------#'
SET delayed_queue_size = 1;
ERROR HY000: Variable 'delayed_queue_size' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@delayed_queue_size;
@@delayed_queue_size
1
SET local.delayed_queue_size = 1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed_queue_size = 1' at line 1
SELECT local.delayed_queue_size;
ERROR 42S02: Unknown table 'local' in field list
SET global.delayed_queue_size = 1;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed_queue_size = 1' at line 1
SELECT global.delayed_queue_size;
ERROR 42S02: Unknown table 'global' in field list
SELECT delayed_queue_size = @@session.delayed_queue_size;
ERROR 42S22: Unknown column 'delayed_queue_size' in 'field list'
SET @@global.delayed_queue_size = @start_value;
SELECT @@global.delayed_queue_size;
@@global.delayed_queue_size
1000
+0 −98
Original line number Diff line number Diff line
SET @global_start_value = @@global.innodb_concurrency_tickets;
SELECT @global_start_value;
@global_start_value
500
'#--------------------FN_DYNVARS_046_01------------------------#'
SET @@global.innodb_concurrency_tickets = 0;
Warnings:
Warning	1292	Truncated incorrect concurrency_tickets value: '0'
SET @@global.innodb_concurrency_tickets = DEFAULT;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
500
'#---------------------FN_DYNVARS_046_02-------------------------#'
SET innodb_concurrency_tickets = 1;
ERROR HY000: Variable 'innodb_concurrency_tickets' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@innodb_concurrency_tickets;
@@innodb_concurrency_tickets
500
SELECT local.innodb_concurrency_tickets;
ERROR 42S02: Unknown table 'local' in field list
SET global innodb_concurrency_tickets = 0;
Warnings:
Warning	1292	Truncated incorrect concurrency_tickets value: '0'
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1
'#--------------------FN_DYNVARS_046_03------------------------#'
SET @@global.innodb_concurrency_tickets = 1;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1
SET @@global.innodb_concurrency_tickets = 1000;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1000
SET @@global.innodb_concurrency_tickets = 4294967295;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
4294967295
'#--------------------FN_DYNVARS_046_04-------------------------#'
SET @@global.innodb_concurrency_tickets = -1;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
18446744073709551615
SET @@global.innodb_concurrency_tickets = "T";
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
18446744073709551615
SET @@global.innodb_concurrency_tickets = "Y";
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
18446744073709551615
SET @@global.innodb_concurrency_tickets = 1001;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1001
'#----------------------FN_DYNVARS_046_05------------------------#'
SELECT @@global.innodb_concurrency_tickets =
VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_concurrency_tickets';
@@global.innodb_concurrency_tickets =
VARIABLE_VALUE
1
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1001
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_concurrency_tickets';
VARIABLE_VALUE
1001
'#---------------------FN_DYNVARS_046_06-------------------------#'
SET @@global.innodb_concurrency_tickets = OFF;
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1001
SET @@global.innodb_concurrency_tickets = ON;
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1001
'#---------------------FN_DYNVARS_046_07----------------------#'
SET @@global.innodb_concurrency_tickets = TRUE;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1
SET @@global.innodb_concurrency_tickets = FALSE;
Warnings:
Warning	1292	Truncated incorrect concurrency_tickets value: '0'
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
1
SET @@global.innodb_concurrency_tickets = @global_start_value;
SELECT @@global.innodb_concurrency_tickets;
@@global.innodb_concurrency_tickets
500
Loading