1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

fflush(NULL) before abort so that all pending writes are performed

This commit is contained in:
unknown
2006-08-07 10:16:37 +02:00
parent 89a9125b70
commit a234e13a05

View File

@@ -122,7 +122,7 @@ static void client_disconnect();
void die(const char *file, int line, const char *expr)
{
fprintf(stderr, "%s:%d: check failed: '%s'\n", file, line, expr);
fflush(stderr);
fflush(NULL);
abort();
}