Bug #48126 mysqlimport: does not quote column names
| Submitted: | 16 Oct 2009 23:12 | Modified: | 16 Oct 2018 13:38 |
|---|---|---|---|
| Reporter: | Paul DuBois | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
| Version: | 5.0+ | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[16 Oct 2009 23:12]
Paul DuBois
[17 Oct 2009 1:56]
MySQL Verification Team
Thank you for the bug report.
[27 Sep 2013 6:49]
Sonia Hamilton
This bug is still open. The current work around is to manually generate the 'LOAD DATA INFILE' command (and ` quote column names) and execute the generated command using 'mysql --user=fred --password=secret dbname -e LOAD DATA INFILE...'.
[18 Dec 2014 16:34]
Markella Skempri
This is still present on 5.6 mysql import. A reserved word in the column list will not allow for me to use a column list on the command line
[18 Aug 2016 20:45]
Camil Staps
This is not restricted to columns; also table names cannot be keywords.
[16 Oct 2018 9:17]
Hartmut Holzgraefe
Seems to be fixed since 5.7 already? It works with 5.7.22 at least ...
[16 Oct 2018 13:38]
Paul DuBois
Posted by developer: In fact, this is fixed in 5.1 (5.1.73) and above, but still and issue in 5.0. Presumably it was fixed "sometime in 5.1".
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 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.