diff options
author | msvensson@neptunus.(none) <> | 2006-08-07 10:16:37 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-08-07 10:16:37 +0200 |
commit | 2e4dbadf9f7364ac1fa38a2850fd0d4b6cffc882 (patch) | |
tree | 5310d3ae0e3ecd5917c760015f053a28410ab8ea | |
parent | e33bd1a3097118d566f7654628fa179ff4ddb698 (diff) | |
download | mariadb-git-2e4dbadf9f7364ac1fa38a2850fd0d4b6cffc882.tar.gz |
fflush(NULL) before abort so that all pending writes are performed
-rw-r--r-- | tests/mysql_client_test.c | 2 |
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(); } |