Browse Source

fflush(NULL) before abort so that all pending writes are performed

pull/374/head
unknown 19 years ago
parent
commit
a234e13a05
  1. 2
      tests/mysql_client_test.c

2
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();
}

Loading…
Cancel
Save