mariadb/mysql-test/r/sql_low_priority_updates_basic.result
unknown b00c536378 System variable tests delivered by Folio3 (see WL4288).
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
2008-04-10 15:14:28 +02:00

173 lines
6.7 KiB
Text
Raw Blame History

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;
ERROR 42000: Variable 'sql_low_priority_updates' doesn't have a default value
'Bug: DEFAULT value is only associated with session'
'#---------------------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: Variable 'sql_low_priority_updates' can't be set to the value of '2'
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<54>E;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TRÜE'
SET @@session.sql_low_priority_updates = <20>N;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'ÕN'
SET @@session.sql_low_priority_updates = OF;
SELECT @@session.sql_low_priority_updates;
@@session.sql_low_priority_updates
0
'Bug# 34828: OF is taken as OFF and a value of 0 is set.'
SET @@session.sql_low_priority_updates = <20>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<54>E;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'TRÜE'
SET @@global.sql_low_priority_updates = <20>N;
ERROR 42000: Variable 'sql_low_priority_updates' can't be set to the value of 'ÕN'
SET @@global.sql_low_priority_updates = OF;
SELECT @@global.sql_low_priority_updates;
@@global.sql_low_priority_updates
0
'Bug# 34828: OF is taken as OFF and a value of 0 is set.'
SET @@global.sql_low_priority_updates = <20>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 @@global.sql_low_priority_updates = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='sql_low_priority_updates';
@@global.sql_low_priority_updates = 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 @@session.sql_low_priority_updates = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
WHERE VARIABLE_NAME='sql_low_priority_updates';
@@session.sql_low_priority_updates = VARIABLE_VALUE
0
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