Commit 81a701cb authored by unknown's avatar unknown

Backport from 5.1, limit SHOW VARIABLES to "log_bin%"

parent 6d630cda
flush logs; flush logs;
set global expire_logs_days = 3; set global expire_logs_days = 3;
show variables like 'log%'; show variables like 'log_bin%';
Variable_name Value Variable_name Value
log ON
log_bin OFF log_bin OFF
log_bin_trust_function_creators ON log_bin_trust_function_creators ON
log_error
log_queries_not_using_indexes OFF
log_slave_updates OFF
log_slow_queries OFF
log_warnings 1
flush logs; flush logs;
show variables like 'log%'; show variables like 'log_bin%';
Variable_name Value Variable_name Value
log ON
log_bin OFF log_bin OFF
log_bin_trust_function_creators ON log_bin_trust_function_creators ON
log_error
log_queries_not_using_indexes OFF
log_slave_updates OFF
log_slow_queries OFF
log_warnings 1
set global expire_logs_days = 0; set global expire_logs_days = 0;
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
flush logs; flush logs;
set global expire_logs_days = 3; set global expire_logs_days = 3;
show variables like 'log%'; show variables like 'log_bin%';
flush logs; flush logs;
show variables like 'log%'; show variables like 'log_bin%';
set global expire_logs_days = 0; set global expire_logs_days = 0;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment