summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-08-17 14:12:37 +0200
committerguilhem@mysql.com <>2004-08-17 14:12:37 +0200
commit8c9fc27f7ce221b9dca69263a12525ce5be53905 (patch)
tree9622e615ecd17db65312ef7a24c106cca7f0c8cc /libmysql
parentf08912e568b1175cc26bc7e009cfccee3502bbd8 (diff)
downloadmariadb-git-8c9fc27f7ce221b9dca69263a12525ce5be53905.tar.gz
Fix for BUG#5073 "--disable-local-infile has no effect if client reads it with MYSQL_READ_DEFAULT":
that was a forgotten '~' probably.
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index cbe6bb3959f..a591ad9317d 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -944,7 +944,7 @@ static void mysql_read_default_options(struct st_mysql_options *options,
options->client_flag&= ~CLIENT_LOCAL_FILES;
break;
case 22:
- options->client_flag&= CLIENT_LOCAL_FILES;
+ options->client_flag&= ~CLIENT_LOCAL_FILES;
break;
case 23: /* replication probe */
options->rpl_probe= 1;