# # 2010-01-10 - Added check for I_S values aver variable value change # --source include/not_embedded.inc # # exists as global only # select @@global.relay_log_recovery; --error ER_INCORRECT_GLOBAL_LOCAL_VAR select @@session.relay_log_recovery; show global variables like 'relay_log_recovery'; show session variables like 'relay_log_recovery'; select * from information_schema.global_variables where variable_name='relay_log_recovery'; select * from information_schema.session_variables where variable_name='relay_log_recovery'; # # show that it's read-only # --error ER_INCORRECT_GLOBAL_LOCAL_VAR set global relay_log_recovery=1; select @@global.relay_log_recovery; select * from information_schema.global_variables where variable_name='relay_log_recovery'; select * from information_schema.session_variables where variable_name='relay_log_recovery';