mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fflush(NULL) before abort so that all pending writes are performed
This commit is contained in:
@ -122,7 +122,7 @@ static void client_disconnect();
|
|||||||
void die(const char *file, int line, const char *expr)
|
void die(const char *file, int line, const char *expr)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s:%d: check failed: '%s'\n", file, line, expr);
|
fprintf(stderr, "%s:%d: check failed: '%s'\n", file, line, expr);
|
||||||
fflush(stderr);
|
fflush(NULL);
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user