SET @start_global_value = @@global.max_tmp_tables;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @start_global_value;
@start_global_value
32
SET @start_session_value = @@session.max_tmp_tables;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @start_session_value;
@start_session_value
32
'#--------------------FN_DYNVARS_086_01-------------------------#'
SET @@global.max_tmp_tables = 1000;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = DEFAULT;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
32
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 1000;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = DEFAULT;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
32
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#--------------------FN_DYNVARS_086_02-------------------------#'
SET @@global.max_tmp_tables = DEFAULT;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables = 32;
@@global.max_tmp_tables = 32
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = DEFAULT;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables = 32;
@@session.max_tmp_tables = 32
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#--------------------FN_DYNVARS_086_03-------------------------#'
SET @@global.max_tmp_tables = 1;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = 2;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
2
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = 65536;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
65536
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = 4294967295;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
4294967295
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = 4294967294;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
4294967294
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#--------------------FN_DYNVARS_086_04-------------------------#'
SET @@session.max_tmp_tables = 1;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 2;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
2
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 65536;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
65536
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 4294967295;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
4294967295
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 4294967294;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
4294967294
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#------------------FN_DYNVARS_086_05-----------------------#'
SET @@global.max_tmp_tables = -1024;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1292	Truncated incorrect max_tmp_tables value: '-1024'
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = 4294967296;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
4294967296
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = -1;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1292	Truncated incorrect max_tmp_tables value: '-1'
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = 429496729500;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
429496729500
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = 65530.34;
ERROR 42000: Incorrect argument type to variable 'max_tmp_tables'
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
429496729500
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = test;
ERROR 42000: Incorrect argument type to variable 'max_tmp_tables'
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
429496729500
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 4294967296;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
4294967296
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = -1;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1292	Truncated incorrect max_tmp_tables value: '-1'
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 429496729500;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
429496729500
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = -001;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1292	Truncated incorrect max_tmp_tables value: '-1'
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = 65530.34;
ERROR 42000: Incorrect argument type to variable 'max_tmp_tables'
SET @@session.max_tmp_tables = 10737418241;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
10737418241
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = test;
ERROR 42000: Incorrect argument type to variable 'max_tmp_tables'
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
10737418241
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#------------------FN_DYNVARS_086_06-----------------------#'
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='max_tmp_tables'
into @tmp;
SELECT @@global.max_tmp_tables = @tmp;
@@global.max_tmp_tables = @tmp
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#------------------FN_DYNVARS_086_07-----------------------#'
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='max_tmp_tables'
into @tmp;
SELECT @@session.max_tmp_tables = @tmp;
@@session.max_tmp_tables = @tmp
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#------------------FN_DYNVARS_086_08-----------------------#'
SET @@global.max_tmp_tables = TRUE;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@global.max_tmp_tables = FALSE;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1292	Truncated incorrect max_tmp_tables value: '0'
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#---------------------FN_DYNVARS_086_09----------------------#'
SET @@global.max_tmp_tables = 20;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@max_tmp_tables = @@global.max_tmp_tables;
@@max_tmp_tables = @@global.max_tmp_tables
0
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#---------------------FN_DYNVARS_086_10----------------------#'
SET @@max_tmp_tables = 255;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@max_tmp_tables = @@local.max_tmp_tables;
@@max_tmp_tables = @@local.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@local.max_tmp_tables = @@session.max_tmp_tables;
@@local.max_tmp_tables = @@session.max_tmp_tables
1
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
'#---------------------FN_DYNVARS_086_11----------------------#'
SET max_tmp_tables = 102;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@max_tmp_tables;
@@max_tmp_tables
102
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT local.max_tmp_tables;
ERROR 42S02: Unknown table 'local' in field list
SELECT session.max_tmp_tables;
ERROR 42S02: Unknown table 'session' in field list
SELECT max_tmp_tables = @@session.max_tmp_tables;
ERROR 42S22: Unknown column 'max_tmp_tables' in 'field list'
SET @@global.max_tmp_tables = @start_global_value;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@global.max_tmp_tables;
@@global.max_tmp_tables
32
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SET @@session.max_tmp_tables = @start_session_value;
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
SELECT @@session.max_tmp_tables;
@@session.max_tmp_tables
32
Warnings:
Warning	1287	'@@max_tmp_tables' is deprecated and will be removed in a future release.
