MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/share/mysql-test/suite/sys_vars/r/log_slow_slave_statements_basic.result
SET @start_value= @@global.log_slow_slave_statements;
SET @@global.log_slow_slave_statements= DEFAULT;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
0
SET @@global.log_slow_slave_statements= TRUE;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
1
SET @@global.log_slow_slave_statements= true;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
1
SET @@global.log_slow_slave_statements= 0;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
0
SET @@global.log_slow_slave_statements= 1;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
1
SET @goodvar= TRUE;
SET @@global.log_slow_slave_statements= @goodvar;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
1
SET GLOBAL log_slow_slave_statements= DEFAULT;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
0
SET GLOBAL log_slow_slave_statements= ON;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
1
SET GLOBAL log_slow_slave_statements= OFF;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
0
SET GLOBAL log_slow_slave_statements= -0;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
0
SET GLOBAL log_slow_slave_statements= 0.00;
ERROR 42000: Incorrect argument type to variable 'log_slow_slave_statements'
SET GLOBAL log_slow_slave_statements= +0;
SELECT @@global.log_slow_slave_statements;
@@global.log_slow_slave_statements
0
SET @@global.log_slow_slave_statements= 'DEFAULT';
ERROR 42000: Variable 'log_slow_slave_statements' can't be set to the value of 'DEFAULT'
SET @@global.log_slow_slave_statements= 'true';
ERROR 42000: Variable 'log_slow_slave_statements' can't be set to the value of 'true'
SET @@global.log_slow_slave_statements= BLABLA;
ERROR 42000: Variable 'log_slow_slave_statements' can't be set to the value of 'BLABLA'
SET @@global.log_slow_slave_statements= 25;
ERROR 42000: Variable 'log_slow_slave_statements' can't be set to the value of '25'
SET GLOBAL log_slow_slave_statements= -1;
ERROR 42000: Variable 'log_slow_slave_statements' can't be set to the value of '-1'
SET @badvar= 'true';
SET @@global.log_slow_slave_statements= @badvar;
ERROR 42000: Variable 'log_slow_slave_statements' can't be set to the value of 'true'
SET GLOBAL log_slow_slave_statements= 'DEFAULT';
ERROR 42000: Variable 'log_slow_slave_statements' can't be set to the value of 'DEFAULT'
SET log_slow_slave_statements= TRUE;
ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION log_slow_slave_statements= TRUE;
ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
SET @@session.log_slow_slave_statements= TRUE;
ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
SET LOCAL log_slow_slave_statements= TRUE;
ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
SET @@global log_slow_slave_statements= TRUE;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'log_slow_slave_statements= TRUE' at line 1
SET @@SESSION log_slow_slave_statements= TRUE;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'log_slow_slave_statements= TRUE' at line 1
SET @@global.log_slow_slave_statements= @start_value;