mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Run mysql_client_test without --silent
Flush both stdout and stderr before abort'ing mysql_client_test mysql-test/mysql-test-run.pl: Run mysql_client_test wihtout --silent flag tests/mysql_client_test.c: Before aborting mysql_client_test in die, make sure to first flush stdout and finally after the error message has been printed also fflush stderr
This commit is contained in:
@ -113,7 +113,9 @@ static void client_disconnect();
|
||||
|
||||
void die(const char *file, int line, const char *expr)
|
||||
{
|
||||
fflush(stdout);
|
||||
fprintf(stderr, "%s:%d: check failed: '%s'\n", file, line, expr);
|
||||
fflush(stderr);
|
||||
abort();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user