Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/sql_big_selects_basic.result |
SET @session_start_value = @@session.sql_big_selects; SELECT @session_start_value; @session_start_value 1 '#--------------------FN_DYNVARS_153_01------------------------#' SET @@session.sql_big_selects = 0; SET @@session.sql_big_selects = DEFAULT; SELECT @@session.sql_big_selects; @@session.sql_big_selects 1 '#---------------------FN_DYNVARS_153_02-------------------------#' SET sql_big_selects = 1; SELECT @@sql_big_selects; @@sql_big_selects 1 SELECT session.sql_big_selects; ERROR 42S02: Unknown table 'session' in field list SELECT local.sql_big_selects; ERROR 42S02: Unknown table 'local' in field list SET session sql_big_selects = 0; SELECT @@session.sql_big_selects; @@session.sql_big_selects 0 '#--------------------FN_DYNVARS_153_03------------------------#' SET @@session.sql_big_selects = 0; SELECT @@session.sql_big_selects; @@session.sql_big_selects 0 SET @@session.sql_big_selects = 1; SELECT @@session.sql_big_selects; @@session.sql_big_selects 1 '#--------------------FN_DYNVARS_153_04-------------------------#' SET @@session.sql_big_selects = -1; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of '-1' SET @@session.sql_big_selects = 2; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of '2' SET @@session.sql_big_selects = "T"; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'T' SET @@session.sql_big_selects = "Y"; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'Y' SET @@session.sql_big_selects = TRÜE; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'TRÜE' SET @@session.sql_big_selects = ÕN; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'ÕN' SET @@session.sql_big_selects = OF; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'OF' SET @@session.sql_big_selects = ÓFF; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'ÓFF' SET @@session.sql_big_selects = '¹'; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of '¹' SET @@session.sql_big_selects = NO; ERROR 42000: Variable 'sql_big_selects' can't be set to the value of 'NO' '#-------------------FN_DYNVARS_153_05----------------------------#' SET @@global.sql_big_selects = 1-@@global.sql_big_selects; SELECT @@global.sql_big_selects; @@global.sql_big_selects 0 SET @@global.sql_big_selects = 1-@@global.sql_big_selects; '#----------------------FN_DYNVARS_153_06------------------------#' SELECT count(VARIABLE_VALUE) FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='sql_big_selects'; count(VARIABLE_VALUE) 1 '#----------------------FN_DYNVARS_153_07------------------------#' SELECT IF(@@session.sql_big_selects, "ON", "OFF") = VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='sql_big_selects'; IF(@@session.sql_big_selects, "ON", "OFF") = VARIABLE_VALUE 1 SELECT @@session.sql_big_selects; @@session.sql_big_selects 1 SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='sql_big_selects'; VARIABLE_VALUE ON '#---------------------FN_DYNVARS_153_08-------------------------#' SET @@session.sql_big_selects = OFF; SELECT @@session.sql_big_selects; @@session.sql_big_selects 0 SET @@session.sql_big_selects = ON; SELECT @@session.sql_big_selects; @@session.sql_big_selects 1 '#---------------------FN_DYNVARS_153_09----------------------#' SET @@session.sql_big_selects = TRUE; SELECT @@session.sql_big_selects; @@session.sql_big_selects 1 SET @@session.sql_big_selects = FALSE; SELECT @@session.sql_big_selects; @@session.sql_big_selects 0 SET @@session.sql_big_selects = @session_start_value; SELECT @@session.sql_big_selects; @@session.sql_big_selects 1