Commit 44e01831 authored by hf@deer.(none)'s avatar hf@deer.(none)

Bugfix for #1342

I made libmysqld not to do freopen(stdout...)
I think we need better solution here so i added it as a worklog entry #1247
parent 6d3d37c6
...@@ -2235,7 +2235,9 @@ Now disabling --log-slave-updates."); ...@@ -2235,7 +2235,9 @@ Now disabling --log-slave-updates.");
opt_error_log= 1; // Too long file name opt_error_log= 1; // Too long file name
else else
{ {
#ifndef EMBEDDED_LIBRARY
if (freopen(log_error_file, "a+", stdout)) if (freopen(log_error_file, "a+", stdout))
#endif
freopen(log_error_file, "a+", stderr); freopen(log_error_file, "a+", stderr);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment