summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-11 15:52:08 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-11 15:52:08 +0300
commit63212b164363569a51106c3f516b53d4df745a28 (patch)
tree41e4782f50458b0e58951ea84db8ff39d8113740 /libmysqld
parent59069cac4a88fc1e6bacd1162f64f5c02b87222b (diff)
downloadmariadb-git-63212b164363569a51106c3f516b53d4df745a28.tar.gz
Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA)
Initialize correctly client flags for the embedded client Test cases in jp updated to work correctly with embedded server.
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 eb47a045669..969ea442622 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)