Current Path : /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 : //usr/opt/mysql57/mysql-test/suite/sys_vars/r/slave_net_timeout_basic.result |
SET @start_global_value = @@global.slave_net_timeout; SELECT @start_global_value; @start_global_value 120 '#--------------------FN_DYNVARS_146_01-------------------------#' SET @@global.slave_net_timeout = 500000; SET @@global.slave_net_timeout = DEFAULT; SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 60 '#--------------------FN_DYNVARS_146_02-------------------------#' SET @@global.slave_net_timeout = DEFAULT; SELECT @@global.slave_net_timeout = 60; @@global.slave_net_timeout = 60 1 '#--------------------FN_DYNVARS_146_03-------------------------#' SET @@global.slave_net_timeout = 0; Warnings: Warning 1292 Truncated incorrect slave_net_timeout value: '0' SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 1 SET @@global.slave_net_timeout = 1; SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 1 SET @@global.slave_net_timeout = 15; SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 15 SET @@global.slave_net_timeout = 1024; SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 1024 SET @@global.slave_net_timeout = 3600+1; SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 3601 SET @@global.slave_net_timeout = 2147483648; Warnings: Warning 1292 Truncated incorrect slave_net_timeout value: '2147483648' SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 31536000 SET @@global.slave_net_timeout = 2147483648*2-1; Warnings: Warning 1292 Truncated incorrect slave_net_timeout value: '4294967295' SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 31536000 '#--------------------FN_DYNVARS_146_04-------------------------#' SET @@slave_net_timeout = 2; ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL SET @@session.slave_net_timeout = 3; ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL SET @@local.slave_net_timeout = 4; ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL '#------------------FN_DYNVARS_146_05-----------------------#' SET @@global.slave_net_timeout = -1; Warnings: Warning 1292 Truncated incorrect slave_net_timeout value: '-1' SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 1 SET @@global.slave_net_timeout = -2147483648; Warnings: Warning 1292 Truncated incorrect slave_net_timeout value: '-2147483648' SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 1 SET @@global.slave_net_timeout = 2147483649*2; Warnings: Warning 1292 Truncated incorrect slave_net_timeout value: '4294967298' SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 31536000 SET @@global.slave_net_timeout = 65530.34; ERROR 42000: Incorrect argument type to variable 'slave_net_timeout' SET @@global.slave_net_timeout = 100s; ERROR 42000: Incorrect argument type to variable 'slave_net_timeout' SET @@global.slave_net_timeout = 7483649.56; ERROR 42000: Incorrect argument type to variable 'slave_net_timeout' SET @@global.slave_net_timeout = 0.6; ERROR 42000: Incorrect argument type to variable 'slave_net_timeout' '#------------------FN_DYNVARS_146_06-----------------------#' SET @@global.slave_net_timeout = 3000; SELECT @@global.slave_net_timeout = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='slave_net_timeout'; @@global.slave_net_timeout = VARIABLE_VALUE 1 '#------------------FN_DYNVARS_146_07-----------------------#' SELECT count(VARIABLE_VALUE) FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='slave_net_timeout'; count(VARIABLE_VALUE) 1 '#------------------FN_DYNVARS_146_08-----------------------#' SET @@global.slave_net_timeout = TRUE; SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 1 SET @@global.slave_net_timeout = FALSE; Warnings: Warning 1292 Truncated incorrect slave_net_timeout value: '0' SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 1 '#---------------------FN_DYNVARS_001_09----------------------#' SET @@global.slave_net_timeout = 60*60; SELECT @@slave_net_timeout = @@global.slave_net_timeout; @@slave_net_timeout = @@global.slave_net_timeout 1 '#---------------------FN_DYNVARS_001_10----------------------#' SET slave_net_timeout = 2048; ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL SELECT slave_net_timeout; ERROR 42S22: Unknown column 'slave_net_timeout' in 'field list' SELECT @@slave_net_timeout; @@slave_net_timeout 3600 SET global slave_net_timeout = 99; SET @@global.slave_net_timeout = @start_global_value; SELECT @@global.slave_net_timeout; @@global.slave_net_timeout 120