1
0
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:
msvensson@pilot.blaudden
2007-03-20 11:21:27 +01:00
parent d640af1881
commit 80fb08310e
2 changed files with 6 additions and 1 deletions

View File

@@ -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));
}
/*