summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2006-02-10 14:42:08 +0100
committerunknown <andrey@lmy004.>2006-02-10 14:42:08 +0100
commit2a098077ca098b1c3bef7deb8cc80e9e5f8b30a8 (patch)
tree8897034ae86aad2cc25424d39854f79531ad5ede /tests
parent0f23bab697710694135f72e5b1cfb4222d0fc2bb (diff)
downloadmariadb-git-2a098077ca098b1c3bef7deb8cc80e9e5f8b30a8.tar.gz
fix test of bug 12744 on OSX
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index f32fd752d77..666c60391da 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -14708,8 +14708,7 @@ static void test_bug12744()
rc= mysql_stmt_prepare(prep_stmt, "SELECT 1", 8);
DIE_UNLESS(rc==0);
- rc= mysql_kill(mysql, mysql_thread_id(mysql));
- DIE_UNLESS(rc==0);
+ mysql_close(mysql);
if (rc= mysql_stmt_execute(prep_stmt))
{
@@ -14727,6 +14726,7 @@ static void test_bug12744()
DIE_UNLESS(1==0);
}
rc= mysql_stmt_close(prep_stmt);
+ client_connect(0);
}
/* Bug #16144: mysql_stmt_attr_get type error */