mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
b00c536378
BitKeeper/etc/ignore: Added mysql-test/linux_sys_vars.inc mysql-test/load_sysvars.inc mysql-test/windows_sys_vars.inc to the ignore list
174 lines
7.1 KiB
Text
174 lines
7.1 KiB
Text
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<54>E;
|
||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TRÜE'
|
||
SET @@session.query_cache_wlock_invalidate = <20>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 = <20>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<54>E;
|
||
ERROR 42000: Variable 'query_cache_wlock_invalidate' can't be set to the value of 'TRÜE'
|
||
SET @@global.query_cache_wlock_invalidate = <20>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 = <20>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
|