mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
f965cae5fb
Add log_bin_index, log_bin_basename and relay_log_basename system variables. Also, convert relay_log_index system variable to NO_CMD_LINE and implement --relay-log-index as a command line option.
16 lines
418 B
Text
16 lines
418 B
Text
#
|
|
# 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;
|