summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2016-08-16 21:23:57 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2016-08-16 21:23:57 +0200
commit05f61ba46046ca835071a73b9255e787dcce9255 (patch)
treeeee5377759fd35c8f432771ea0636315945e5b57 /tests
parentdf09d5e724af93fea096fd841fad9e93d2615ad5 (diff)
downloadmariadb-git-05f61ba46046ca835071a73b9255e787dcce9255.tar.gz
MDEV-10559: main.mysql_client_test_nonblock crashes in buildbot on 10.0
fix for async operations
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 640ba298556..2acec60166e 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -18443,7 +18443,7 @@ static void test_bug58036()
if (mysql_real_connect(conn, opt_host, opt_user,
opt_password, opt_db ? opt_db : "test",
- opt_port, opt_unix_socket, CLIENT_REMEMBER_OPTIONS))
+ opt_port, opt_unix_socket, 0))
{
if (!opt_silent)
printf("mysql_real_connect() succeeded (failure expected)\n");
@@ -18469,7 +18469,7 @@ static void test_bug58036()
mysql_options(conn, MYSQL_SET_CHARSET_NAME, "latin1");
if (!mysql_real_connect(conn, opt_host, opt_user,
opt_password, opt_db ? opt_db : "test",
- opt_port, opt_unix_socket, CLIENT_REMEMBER_OPTIONS))
+ opt_port, opt_unix_socket, 0))
{
if (!opt_silent)
printf("mysql_real_connect() failed: %s (%d)\n",
@@ -19344,7 +19344,7 @@ static void test_big_packet()
if (!(mysql_real_connect(mysql_local, opt_host, opt_user,
opt_password, current_db, opt_port,
- opt_unix_socket, CLIENT_REMEMBER_OPTIONS)))
+ opt_unix_socket, 0)))
{
mysql_close(mysql_local);
fprintf(stderr, "\n connection failed(%s)", mysql_error(mysql_local));