diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-11-27 15:47:08 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-11-27 15:47:08 +0100 |
commit | 5fddd4a7f09c7cb7ae2171f284130b1316aa6235 (patch) | |
tree | 912e987e32170f97cb2205aaf5c665a3ce3897b0 /tests | |
parent | 0497ecc2c8a3ff362fdb2e69c558063c23d2e885 (diff) | |
download | mariadb-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.c | 2 |
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); } |