diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2016-08-16 21:23:57 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2016-08-16 21:23:57 +0200 |
commit | 05f61ba46046ca835071a73b9255e787dcce9255 (patch) | |
tree | eee5377759fd35c8f432771ea0636315945e5b57 /sql-common/mysql_async.c | |
parent | df09d5e724af93fea096fd841fad9e93d2615ad5 (diff) | |
download | mariadb-git-05f61ba46046ca835071a73b9255e787dcce9255.tar.gz |
MDEV-10559: main.mysql_client_test_nonblock crashes in buildbot on 10.0
fix for async operations
Diffstat (limited to 'sql-common/mysql_async.c')
-rw-r--r-- | sql-common/mysql_async.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql-common/mysql_async.c b/sql-common/mysql_async.c index 80b4f390641..decf48e0e69 100644 --- a/sql-common/mysql_async.c +++ b/sql-common/mysql_async.c @@ -455,7 +455,11 @@ MK_ASYNC_START_BODY( parms.db= db; parms.port= port; parms.unix_socket= unix_socket; - parms.client_flags= client_flags; + /* + async wrapper enforce the CLIENT_REMEMBER_OPTIONS flag to be + functional (otherwise it can't operate) + */ + parms.client_flags= client_flags | CLIENT_REMEMBER_OPTIONS; }, NULL, r_ptr, |