summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-25 14:39:05 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-25 14:39:05 +0300
commit252c2954e868657e87824d27569cbecd2b18822c (patch)
treea0fac5d6f3d518374c814ed49170d65aca036007 /libmysqld
parent3787988ca8064fe38e83c554f7e1b8e6ec6aeb8e (diff)
parent19f02facb7e5b11055aa767bdbe50d56e2989666 (diff)
downloadmariadb-git-252c2954e868657e87824d27569cbecd2b18822c.tar.gz
merge
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/libmysqld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c
index aff9391e015..0c20b35236d 100644
--- a/libmysqld/libmysqld.c
+++ b/libmysqld/libmysqld.c
@@ -164,6 +164,7 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user,
port=0;
unix_socket=0;
+ client_flag|=mysql->options.client_flag;
/* Send client information for access check */
client_flag|=CLIENT_CAPABILITIES;
if (client_flag & CLIENT_MULTI_STATEMENTS)