diff options
author | unknown <msvensson@neptunus.(none)> | 2006-08-06 23:56:51 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-08-06 23:56:51 +0200 |
commit | 89a9125b70c9e3838751dc3744a3a9e115137c58 (patch) | |
tree | 80bd88b6e5c65c3f823a8d9288aa579a33c4ac5b /tests | |
parent | 70d5bb95f98a362597cede8141b8a845a4e36eec (diff) | |
download | mariadb-git-89a9125b70c9e3838751dc3744a3a9e115137c58.tar.gz |
Flush stderr before calling abort()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index e4b2374a698..b65528eccb6 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -122,6 +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); abort(); } |