#
# Bug#17733 Flushing logs causes daily server crash
#
flush logs;
set global expire_logs_days = 3;
show variables like 'log_bin%';
flush logs;
show variables like 'log_bin%';
set global expire_logs_days = 0;
