Bug #94496 Contribution: Fixed load data infile file handle bug.
Submitted: 27 Feb 2019 16:39 Modified: 18 Dec 2019 22:07
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / Python Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[27 Feb 2019 16:39] OCA Admin
Description:
This bug tracks a contribution by Micah Gale (Github user: MicahGale) as described in http://github.com/mysql/mysql-connector-python/pull/48

How to repeat:
See description

Suggested fix:
See contribution code attached
[27 Feb 2019 16:39] OCA Admin
Contribution submitted via Github - Fixed load data infile file handle bug. 
(*) Contribution by Micah Gale (Github MicahGale, mysql-connector-python/pull/48#issuecomment-467932344): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it

Contribution: git_patch_249848964.txt (text/plain), 2.61 KiB.

[27 Feb 2019 19:36] MySQL Verification Team
Thank you for the contribution.
[18 Dec 2019 22:07] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/Python 8.0.19 release, and here's the changelog entry proposed by the documentation team:

Fixed LOAD DATA INFILE LOCAL handling; the file handle was not closed.
Thanks to Micah Gale for the patch.

Thank you for the bug report.