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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.