Bug #72107 | mysql_real_connect() CLIENT_LOCAL_FILES flag doesn't work | ||
---|---|---|---|
Submitted: | 24 Mar 2014 9:20 | Modified: | 4 Apr 2014 9:40 |
Reporter: | Hartmut Holzgraefe | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | Connector / C | Severity: | S3 (Non-critical) |
Version: | 5.6.16, any | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[24 Mar 2014 9:20]
Hartmut Holzgraefe
[24 Mar 2014 9:23]
Hartmut Holzgraefe
test source
Attachment: infile-test.c (text/x-csrc), 3.12 KiB.
[24 Mar 2014 9:23]
Hartmut Holzgraefe
simple makefile with "make test" target to run the test
Attachment: Makefile (application/octet-stream, text), 349 bytes.
[24 Mar 2014 9:24]
Hartmut Holzgraefe
very simple input file
Attachment: t1.csv (text/csv), 14 bytes.
[4 Apr 2014 9:40]
MySQL Verification Team
Hello Hartmut, Thank you for the bug report and test case. Verified as described. Thanks, Umesh
[4 Apr 2014 9:41]
MySQL Verification Team
// # make test === testing with mysql_options() === ./infile-test before setting options: mysql->client_flag : 0 mysql->options.client_flag: 0 using mysql_options() Connect OK mysql->client_flag : 3EA28D mysql->options.client_flag: 80 test OK === testing with mysql_real_connect() flags === ./infile-test foo before setting options: mysql->client_flag : 0 mysql->options.client_flag: 0 using connect flag Connect OK mysql->client_flag : 3EA28D mysql->options.client_flag: 0 LOAD failed: 1 2027 Malformed packet make: *** [test] Error 1