Bug #5073 --disable-local-infile has no effect if client reads it with MYSQL_READ_DEFAULT
Submitted: 17 Aug 2004 14:15 Modified: 17 Aug 2004 17:45
Reporter: Guilhem Bichot Email Updates:
Status: Closed Impact on me:
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0 OS:Any (all)
Assigned to: CPU Architecture:Any

[17 Aug 2004 14:15] Guilhem Bichot
True since 3.23 but will be fixed in 4.0.

How to repeat:
Have a config file like this:
and use it in your client program with:
Then the client is still able to do LOAD DATA LOCAL INFILE.

Suggested fix:
A forgotten ~ in libmysql.c; fixing it.
[17 Aug 2004 17:45] Guilhem Bichot
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at

Additional info:

ChangeSet@1.1961.2.1, 2004-08-17 14:12:37+02:00, guilhem@mysql.com