mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Fix problem with windows where stderr is not flushed until end of program.
This commit is contained in:
parent
206bdb8b35
commit
8f378e0f3a
1 changed files with 1 additions and 0 deletions
|
@ -852,6 +852,7 @@ static void DB_error(MYSQL *mysql, const char *when)
|
|||
DBUG_ENTER("DB_error");
|
||||
fprintf(stderr, "%s: Got error: %d: %s %s\n", my_progname,
|
||||
mysql_errno(mysql), mysql_error(mysql), when);
|
||||
fflush(stderr);
|
||||
safe_exit(EX_MYSQLERR);
|
||||
DBUG_VOID_RETURN;
|
||||
} /* DB_error */
|
||||
|
|
Loading…
Reference in a new issue