summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-11-27 15:47:08 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-11-27 15:47:08 +0100
commit5fddd4a7f09c7cb7ae2171f284130b1316aa6235 (patch)
tree912e987e32170f97cb2205aaf5c665a3ce3897b0 /tests
parent0497ecc2c8a3ff362fdb2e69c558063c23d2e885 (diff)
downloadmariadb-git-5fddd4a7f09c7cb7ae2171f284130b1316aa6235.tar.gz
Fix yet another regression after MDEV-3885.
If connection kills itself (or own query), it will get an error consistently, with both COM_PROCESSKILL and with "KILL [QUERY] id"
Diffstat (limited to 'tests')
-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 285e5fd0aee..91e7da6ff32 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -18566,7 +18566,7 @@ static void test_mdev3885()
myheader("test_mdev3885");
conn= client_connect(0, MYSQL_PROTOCOL_TCP, 0);
rc= mysql_kill(conn, mysql_thread_id(conn));
- DIE_UNLESS(rc == 0);
+ DIE_UNLESS(rc);
mysql_close(conn);
}