summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-08-07 10:16:37 +0200
committermsvensson@neptunus.(none) <>2006-08-07 10:16:37 +0200
commit2e4dbadf9f7364ac1fa38a2850fd0d4b6cffc882 (patch)
tree5310d3ae0e3ecd5917c760015f053a28410ab8ea
parente33bd1a3097118d566f7654628fa179ff4ddb698 (diff)
downloadmariadb-git-2e4dbadf9f7364ac1fa38a2850fd0d4b6cffc882.tar.gz
fflush(NULL) before abort so that all pending writes are performed
-rw-r--r--tests/mysql_client_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index b65528eccb6..7cdd82f3779 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -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();
}