Per MySQL Manual:
If you build MySQL from source but do not invoke configure with the --enable-local-infile option, LOAD DATA LOCAL cannot be used by any client unless it is written explicitly to invoke mysql_options(... MYSQL_OPT_LOCAL_INFILE, 0). See Section 188.8.131.52, “mysql_options()”.
I'd like to expose this as a connection flag.
[I'm working through my use-case right now, will submit a patch when I have a reasonable idea on how/where to expose this flag.]
Issue #233 refactor mysql_options calls and add an options method to …
Issue #233 add option :local_infile to the constructor.
Issue #233 version bump.
See pull request #242 for correct changesets to pull.
Woot - works for me, thanks!
Issue #233 fixes to the options refactor plus tests now pass.
Pull request #252 is take three: updated to a current branch, tests passing, looking good.
Thanks for integrating my changes!
No need to thank me, thank you for contributing them! :)