summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush2.test
blob: 496b57ccea4795d7bfc6f07dab8ea83089706bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Bug#17733 Flushing logs causes daily server crash
#

--source include/not_embedded.inc

flush logs;
set global expire_logs_days = 3;
show variables like 'log_bin%';
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
show variables like 'relay_log%';
flush logs;
show variables like 'log_bin%';
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
show variables like 'relay_log%';
set global expire_logs_days = 0;