Bug #82684 | Encapsulate table names in mysqlimport (contribution) | ||
---|---|---|---|
Submitted: | 22 Aug 2016 15:59 | Modified: | 23 Aug 2016 5:10 |
Reporter: | OCA Admin (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution |
[22 Aug 2016 15:59]
OCA Admin
[22 Aug 2016 15:59]
OCA Admin
Contribution submitted via Github - Encapsulate table names in mysqlimport (*) Contribution by Camil Staps (Github camilstaps, mysql-server/pull/90#issuecomment-241183569): 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_81897981.txt (text/plain), 1.33 KiB.
[22 Aug 2016 17:19]
Camil Staps
As I wrote on GitHub: Locking tables in mysqlimport fails if - the table name is a keyword, or - the table name contains backticks. This PR encapsulates table names in backticks and replaces backticks by double backticks, to solve both issues.
[23 Aug 2016 5:10]
MySQL Verification Team
Hello Camil Staps, Thank you for the report and contribution. Thanks, Umesh