MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: obrechts (544)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/share/mysql-test/suite/sys_vars/r/log_error_basic.result
select @@global.log_error;
@@global.log_error

select @@session.log_error;
ERROR HY000: Variable 'log_error' is a GLOBAL variable
show global variables like 'log_error';
Variable_name	Value
log_error	
show session variables like 'log_error';
Variable_name	Value
log_error	
select * from information_schema.global_variables where variable_name='log_error';
VARIABLE_NAME	VARIABLE_VALUE
LOG_ERROR	
select * from information_schema.session_variables where variable_name='log_error';
VARIABLE_NAME	VARIABLE_VALUE
LOG_ERROR	
set global log_error=1;
ERROR HY000: Variable 'log_error' is a read only variable
set session log_error=1;
ERROR HY000: Variable 'log_error' is a read only variable