summaryrefslogtreecommitdiff
path: root/libmysqld/libmysqld.c
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
commit19f02facb7e5b11055aa767bdbe50d56e2989666 (patch)
tree41e4782f50458b0e58951ea84db8ff39d8113740 /libmysqld/libmysqld.c
parent45c70a2ec50e81d3eeb1699fae939e113bf69ba1 (diff)
downloadmariadb-git-19f02facb7e5b11055aa767bdbe50d56e2989666.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/libmysqld.c')
-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)