SET @session_start_value = @@session.query_cache_wlock_invalidate; SELECT @session_start_value; @session_start_value 0 SET @global_start_value = @@global.query_cache_wlock_invalidate; SELECT @global_start_value; @global_start_value 0 '#--------------------FN_DYNVARS_135_01------------------------#' SET @@session.query_cache_wlock_invalidate = 1; SET @@session.query_cache_wlock_invalidate = DEFAULT; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 0 SET @@global.query_cache_wlock_invalidate = 1; SET @@global.query_cache_wlock_invalidate = DEFAULT; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0 '#---------------------FN_DYNVARS_135_02-------------------------#' SET query_cache_wlock_invalidate = 1; SELECT @@query_cache_wlock_invalidate; @@query_cache_wlock_invalidate 1 SELECT session.query_cache_wlock_invalidate; ERROR 42S02: Unknown table 'session' in field list SELECT local.query_cache_wlock_invalidate; ERROR 42S02: Unknown table 'local' in field list SELECT global.query_cache_wlock_invalidate; ERROR 42S02: Unknown table 'global' in field list SET session query_cache_wlock_invalidate = 0; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 0 SET global query_cache_wlock_invalidate = 0; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0 '#--------------------FN_DYNVARS_135_03------------------------#' SET @@session.query_cache_wlock_invalidate = 0; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 0 SET @@session.query_cache_wlock_invalidate = 1; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 1 SET @@global.query_cache_wlock_invalidate = 0; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0 SET @@global.query_cache_wlock_invalidate = 1; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 1 '#--------------------FN_DYNVARS_135_04-------------------------#' SET @@session.query_cache_wlock_invalidate = -1; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '-1' SET @@session.query_cache_wlock_invalidate = 1.6; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '2' SET @@session.query_cache_wlock_invalidate = "T"; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'T' SET @@session.query_cache_wlock_invalidate = "Y"; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'Y' SET @@session.query_cache_wlock_invalidate = TRÜE; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TRÃœE' SET @@session.query_cache_wlock_invalidate = ÕN; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÕN' SET @@session.query_cache_wlock_invalidate = OF; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 0 'Bug# 34828: OF is taken as OFF and a value of 0 is set.' SET @@session.query_cache_wlock_invalidate = ÓFF; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÓFF' SET @@global.query_cache_wlock_invalidate = -1; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '-1' SET @@global.query_cache_wlock_invalidate = 2; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of '2' SET @@global.query_cache_wlock_invalidate = "T"; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'T' SET @@global.query_cache_wlock_invalidate = "Y"; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'Y' SET @@global.query_cache_wlock_invalidate = TRÜE; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TRÃœE' SET @@global.query_cache_wlock_invalidate = ÕN; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÕN' SET @@global.query_cache_wlock_invalidate = OF; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0 'Bug 34828: OF is taken as OFF and a value of 0 is set.' SET @@global.query_cache_wlock_invalidate = ÓFF; ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'ÓFF' '#-------------------FN_DYNVARS_135_05----------------------------#' SET @@global.query_cache_wlock_invalidate = 0; SET @@session.query_cache_wlock_invalidate = 1; SELECT @@global.query_cache_wlock_invalidate AS res_is_0; res_is_0 0 SET @@global.query_cache_wlock_invalidate = 0; SELECT @@session.query_cache_wlock_invalidate AS res_is_1; res_is_1 1 '#----------------------FN_DYNVARS_135_06------------------------#' SELECT @@global.query_cache_wlock_invalidate = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='query_cache_wlock_invalidate'; @@global.query_cache_wlock_invalidate = VARIABLE_VALUE 1 SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0 SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='query_cache_wlock_invalidate'; VARIABLE_VALUE OFF '#----------------------FN_DYNVARS_135_07------------------------#' SELECT @@session.query_cache_wlock_invalidate = VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='query_cache_wlock_invalidate'; @@session.query_cache_wlock_invalidate = VARIABLE_VALUE 0 SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 1 SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='query_cache_wlock_invalidate'; VARIABLE_VALUE ON '#---------------------FN_DYNVARS_135_08-------------------------#' SET @@session.query_cache_wlock_invalidate = OFF; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 0 SET @@session.query_cache_wlock_invalidate = ON; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 1 SET @@global.query_cache_wlock_invalidate = OFF; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0 SET @@global.query_cache_wlock_invalidate = ON; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 1 '#---------------------FN_DYNVARS_135_09----------------------#' SET @@session.query_cache_wlock_invalidate = TRUE; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 1 SET @@session.query_cache_wlock_invalidate = FALSE; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 0 SET @@global.query_cache_wlock_invalidate = TRUE; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 1 SET @@global.query_cache_wlock_invalidate = FALSE; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0 SET @@session.query_cache_wlock_invalidate = @session_start_value; SELECT @@session.query_cache_wlock_invalidate; @@session.query_cache_wlock_invalidate 0 SET @@global.query_cache_wlock_invalidate = @global_start_value; SELECT @@global.query_cache_wlock_invalidate; @@global.query_cache_wlock_invalidate 0