diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 71ae5e4f052..5133a9013d2 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -11719,13 +11719,13 @@ static void test_bug12744() rc= mysql_kill(mysql, mysql_thread_id(mysql)); DIE_UNLESS(rc==0); - if (rc= mysql_stmt_execute(prep_stmt)) + if ((rc= mysql_stmt_execute(prep_stmt))) { - if (rc= mysql_stmt_reset(prep_stmt)) + if ((rc= mysql_stmt_reset(prep_stmt))) printf("OK!\n"); else { - printf("Error!"); + printf("Error!\n"); DIE_UNLESS(1==0); } } |