summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/mysql_client_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 4978faafb67..4c8ee07cdd0 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -19390,8 +19390,8 @@ static void test_big_packet()
opt_password, current_db, opt_port,
opt_unix_socket, 0)))
{
- mysql_close(mysql_local);
fprintf(stderr, "\n connection failed(%s)", mysql_error(mysql_local));
+ mysql_close(mysql_local);
exit(1);
}