SET @session_start_value = @@session.sql_low_priority_updates;
SELECT @session_start_value;
@session_start_value
0
SET @global_start_value = @@global.sql_low_priority_updates;
SELECT @global_start_value;
@global_start_value
0
'#--------------------FN_DYNVARS_159_01------------------------#'
SET @@session.sql_low_priority_updates = 1;
SET @@session.sql_low_priority_updates = DEFAULT;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
0
SET @@global.sql_low_priority_updates = 1;
SET @@global.sql_low_priority_updates = DEFAULT;
'#---------------------FN_DYNVARS_159_02-------------------------#'
SET sql_low_priority_updates = 1;
SELECT @@sql_low_priority_updates;
@@sql_low_priority_updates
1
SELECT session.sql_low_priority_updates;
ERROR 42S02: Unknown table 'session' in field list
SELECT local.sql_low_priority_updates;
ERROR 42S02: Unknown table 'local' in field list
SELECT global.sql_low_priority_updates;
ERROR 42S02: Unknown table 'global' in field list
SET session sql_low_priority_updates = 0;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
0
SET global sql_low_priority_updates = 0;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
0
'#--------------------FN_DYNVARS_159_03------------------------#'
SET @@session.sql_low_priority_updates = 0;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
0
SET @@session.sql_low_priority_updates = 1;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
1
SET @@global.sql_low_priority_updates = 0;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
0
SET @@global.sql_low_priority_updates = 1;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
1
'#--------------------FN_DYNVARS_159_04-------------------------#'
SET @@session.sql_low_priority_updates = -1;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '-1'
SET @@session.sql_low_priority_updates = 1.6;
ERROR 42000: Incorrect argument type to variable 'sql_low_priority_updates'
SET @@session.sql_low_priority_updates = "T";
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'T'
SET @@session.sql_low_priority_updates = "Y";
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'Y'
SET @@session.sql_low_priority_updates = TRÜE;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TRÜE'
SET @@session.sql_low_priority_updates = ÕN;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'ÕN'
SET @@session.sql_low_priority_updates = OF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
SET @@session.sql_low_priority_updates = ÓFF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'ÓFF'
SET @@global.sql_low_priority_updates = -1;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '-1'
SET @@global.sql_low_priority_updates = 2;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of '2'
SET @@global.sql_low_priority_updates = "T";
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'T'
SET @@global.sql_low_priority_updates = "Y";
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'Y'
SET @@global.sql_low_priority_updates = TRÜE;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TRÜE'
SET @@global.sql_low_priority_updates = ÕN;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'ÕN'
SET @@global.sql_low_priority_updates = OF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'OF'
SET @@global.sql_low_priority_updates = ÓFF;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'ÓFF'
'#-------------------FN_DYNVARS_159_05----------------------------#'
SET @@global.sql_low_priority_updates = 0;
SET @@session.sql_low_priority_updates = 1;
SELECT @@global.sql_low_priority_updates AS res_is_0;
res_is_0
0
SET @@global.sql_low_priority_updates = 0;
SELECT @@session.sql_low_priority_updates AS res_is_1;
res_is_1
1
'#----------------------FN_DYNVARS_159_06------------------------#'
SELECT IF(@@global.sql_low_priority_updates, "ON", "OFF") = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='sql_low_priority_updates';
IF(@@global.sql_low_priority_updates, "ON", "OFF") = VARIABLE_VALUE
1
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
0
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='sql_low_priority_updates';
VARIABLE_VALUE
OFF
'#----------------------FN_DYNVARS_159_07------------------------#'
SELECT IF(@@session.sql_low_priority_updates, "ON", "OFF") = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='sql_low_priority_updates';
IF(@@session.sql_low_priority_updates, "ON", "OFF") = VARIABLE_VALUE
1
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
1
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='sql_low_priority_updates';
VARIABLE_VALUE
ON
'#---------------------FN_DYNVARS_159_08-------------------------#'
SET @@session.sql_low_priority_updates = OFF;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
0
SET @@session.sql_low_priority_updates = ON;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
1
SET @@global.sql_low_priority_updates = OFF;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
0
SET @@global.sql_low_priority_updates = ON;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
1
'#---------------------FN_DYNVARS_159_09----------------------#'
SET @@session.sql_low_priority_updates = TRUE;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
1
SET @@session.sql_low_priority_updates = FALSE;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
0
SET @@global.sql_low_priority_updates = TRUE;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
1
SET @@global.sql_low_priority_updates = FALSE;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
0
SET @@session.sql_low_priority_updates = @session_start_value;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
0
SET @@global.sql_low_priority_updates = @global_start_value;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
0
