Commit 4b7c1f83 authored by unknown's avatar unknown

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


sql/mysqld.cc:
  freopen #ifdef-ed
  Not a perfect solution though
parent 5c08e1c1
......@@ -2235,7 +2235,9 @@ Now disabling --log-slave-updates.");
opt_error_log= 1; // Too long file name
else
{
#ifndef EMBEDDED_LIBRARY
if (freopen(log_error_file, "a+", stdout))
#endif
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