mirror of
https://github.com/MariaDB/server.git
synced 2025-07-23 08:45:18 +03:00
20 lines
605 B
Plaintext
20 lines
605 B
Plaintext
#
|
|
# Bug#17733 Flushing logs causes daily server crash
|
|
#
|
|
|
|
--source include/not_embedded.inc
|
|
|
|
set @save_expire_logs_days=@@global.expire_logs_days;
|
|
|
|
flush logs;
|
|
set global expire_logs_days = 3;
|
|
let $relay_prefix=`select concat(substring_index(@@relay_log,"-",1),"-")`;
|
|
show variables like 'log_bin%';
|
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR $relay_prefix XXX-
|
|
show variables like 'relay_log%';
|
|
flush logs;
|
|
show variables like 'log_bin%';
|
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR $relay_prefix XXX-
|
|
show variables like 'relay_log%';
|
|
set global expire_logs_days=@save_expire_logs_days;
|