1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for bug #12177 (errorlog file isn't closed)

4.1 version of the patch
This commit is contained in:
hf@deer.(none)
2005-08-04 15:23:21 +05:00
parent e1fded437a
commit 39ef54fd8e
3 changed files with 10 additions and 1 deletions

View File

@ -382,6 +382,7 @@ Le_creator le_creator;
FILE *bootstrap_file;
FILE *stderror_file=0;
I_List<i_string_pair> replicate_rewrite_db;
I_List<i_string> replicate_do_db, replicate_ignore_db;
@ -2767,7 +2768,7 @@ server.");
#ifndef EMBEDDED_LIBRARY
if (freopen(log_error_file, "a+", stdout))
#endif
freopen(log_error_file, "a+", stderr);
stderror_file= freopen(log_error_file, "a+", stderr);
}
}