2006-12-01 09:49:19 +01:00
|
|
|
#
|
|
|
|
# Bug#17733 Flushing logs causes daily server crash
|
|
|
|
#
|
2015-06-05 17:43:05 +02:00
|
|
|
|
|
|
|
--source include/not_embedded.inc
|
|
|
|
|
2006-12-01 09:49:19 +01:00
|
|
|
flush logs;
|
|
|
|
set global expire_logs_days = 3;
|
2007-03-04 23:09:24 +01:00
|
|
|
show variables like 'log_bin%';
|
2015-06-05 17:43:05 +02:00
|
|
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
|
|
|
show variables like 'relay_log%';
|
2006-12-01 09:49:19 +01:00
|
|
|
flush logs;
|
2007-03-04 23:09:24 +01:00
|
|
|
show variables like 'log_bin%';
|
2015-06-05 17:43:05 +02:00
|
|
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
|
|
|
show variables like 'relay_log%';
|
2006-12-01 09:49:19 +01:00
|
|
|
set global expire_logs_days = 0;
|