diff options
author | unknown <msvensson@neptunus.(none)> | 2006-08-07 10:16:37 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-08-07 10:16:37 +0200 |
commit | a234e13a0513da8452b21f938821878eafeeb3aa (patch) | |
tree | 5310d3ae0e3ecd5917c760015f053a28410ab8ea /tests | |
parent | 89a9125b70c9e3838751dc3744a3a9e115137c58 (diff) | |
download | mariadb-git-a234e13a0513da8452b21f938821878eafeeb3aa.tar.gz |
fflush(NULL) before abort so that all pending writes are performed
Diffstat (limited to 'tests')
-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(); } |