Commit da0603b6 authored by Sergei Golubchik's avatar Sergei Golubchik

fixed a bad merge

parent 462d14d4
......@@ -4624,16 +4624,8 @@ we force server id to 2, but this MySQL server will not act as a slave.");
#ifdef __WIN__
if (!opt_console)
{
<<<<<<< TREE
if (!freopen(log_error_file,"a+",stdout) ||
!freopen(log_error_file,"a+",stderr))
{
sql_print_warning("Couldn't reopen stdout or stderr");
}
=======
if (reopen_fstreams(log_error_file, stdout, stderr))
unireg_abort(1);
>>>>>>> MERGE-SOURCE
setbuf(stderr, NULL);
FreeConsole(); // Remove window
}
......
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