mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Merge build.mysql.com:/home/bk/mysql-4.1
into build.mysql.com:/users/rburnett/mysql-4.1-current
This commit is contained in:
commit
0920d479a1
1 changed files with 2 additions and 3 deletions
|
@ -2918,11 +2918,10 @@ we force server id to 2, but this MySQL server will not act as a slave.");
|
|||
exit(1);
|
||||
|
||||
#ifdef __WIN__
|
||||
#define MYSQL_ERR_FILE "mysql.err"
|
||||
if (!opt_console)
|
||||
{
|
||||
freopen(MYSQL_ERR_FILE,"a+",stdout);
|
||||
freopen(MYSQL_ERR_FILE,"a+",stderr);
|
||||
freopen(log_error_file,"a+",stdout);
|
||||
freopen(log_error_file,"a+",stderr);
|
||||
FreeConsole(); // Remove window
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue