summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2006-03-30 03:11:37 +0300
committerunknown <monty@mysql.com>2006-03-30 03:11:37 +0300
commit4c0111460bae6b62999c1e17482f5560909cb482 (patch)
tree61eee37f41ff61237d032f69b555961c63a47442 /tests
parent2d6a51b4c8bac3cbed223836f8b2379b9a065d16 (diff)
downloadmariadb-git-4c0111460bae6b62999c1e17482f5560909cb482.tar.gz
Cleanup during review of new pushed code
sql/ha_heap.cc: Indentation fixes strings/ctype-ucs2.c: Simplify code tests/mysql_client_test.c: Remove compiler warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c6
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);
}
}