summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-02-13 22:01:41 +0200
committerunknown <monty@hundin.mysql.fi>2002-02-13 22:01:41 +0200
commita0ea16f1c25508100df3bf4afb390ce368b5b86f (patch)
tree749bdbf1cacfa32de9d765a823e1001355c19f78 /libmysql
parentbf67d42f2d781d27a02adf4c4f400a7a398bca2a (diff)
downloadmariadb-git-a0ea16f1c25508100df3bf4afb390ce368b5b86f.tar.gz
Fix for LOAD DATA LOCAL INFILE patch
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index b632595bad9..c75bb0ad462 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -2294,9 +2294,9 @@ mysql_options(MYSQL *mysql,enum mysql_option option, const char *arg)
break;
case MYSQL_OPT_LOCAL_INFILE: /* Allow LOAD DATA LOCAL ?*/
if (!arg || test(*(uint*) arg))
- mysql->client_flag|= CLIENT_LOCAL_FILES;
+ mysql->options.client_flag|= CLIENT_LOCAL_FILES;
else
- mysql->client_flag&= ~CLIENT_LOCAL_FILES;
+ mysql->options.client_flag&= ~CLIENT_LOCAL_FILES;
break;
case MYSQL_INIT_COMMAND:
my_free(mysql->options.init_command,MYF(MY_ALLOW_ZERO_PTR));