diff options
author | unknown <monty@tik.mysql.fi> | 2002-02-13 21:53:26 +0200 |
---|---|---|
committer | unknown <monty@tik.mysql.fi> | 2002-02-13 21:53:26 +0200 |
commit | 33d2d76549f8ccf037f733c61e2b9c17500fe738 (patch) | |
tree | d9a4ab04b8347c3969351b9c33b0c3f55c2f0145 /sql/sql_load.cc | |
parent | 501650c5b16a4c7cf7b673b19f9a2ae9c319e24f (diff) | |
download | mariadb-git-33d2d76549f8ccf037f733c61e2b9c17500fe738.tar.gz |
Made LOAD DATA LOCAL INFILE more secure
Docs/manual.texi:
Changelog
sql/sql_yacc.yy:
optimization
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r-- | sql/sql_load.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc index 9d3b899d31b..dd8487ceecc 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -132,7 +132,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list, if (read_file_from_client && handle_duplicates == DUP_ERROR) handle_duplicates=DUP_IGNORE; - if (read_file_from_client && (thd->client_capabilities & CLIENT_LOCAL_FILES)) + if (read_file_from_client) { char tmp [FN_REFLEN+1],*end; DBUG_PRINT("info",("reading local file")); |