mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Bug#27070 server logs are created unrequested and in wrong directory
- Avoid defaault log file names looking like <hostname>.pid.slow.log by using the FN_REPLACE_EXT flag to 'fn_format' - Remove the default log files generated by log_state.test before test completes
This commit is contained in:
@@ -68,7 +68,7 @@ char *make_default_log_name(char *buff,const char* log_ext)
|
||||
{
|
||||
strmake(buff, pidfile_name, FN_REFLEN-5);
|
||||
return fn_format(buff, buff, mysql_data_home, log_ext,
|
||||
MYF(MY_UNPACK_FILENAME|MY_APPEND_EXT));
|
||||
MYF(MY_UNPACK_FILENAME|MY_REPLACE_EXT));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user