Bug #71091 CSV engine does not properly process "", in quotes
| Submitted: | 5 Dec 2013 12:52 | Modified: | 6 Dec 2013 11:11 |
|---|---|---|---|
| Reporter: | Valeriy Kravchuk | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: CSV | Severity: | S3 (Non-critical) |
| Version: | 5.5.33, any, 5.6.15, 5.5.35 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[5 Dec 2013 12:52]
Valeriy Kravchuk
[5 Dec 2013 15:00]
Peter Laursen
Further more a file reading according to "standard" loads with LOAD DATA INFILE when specifying ENCLOSED BY '"' (but the non-standard" version also does). In other words LOAD DATA accepts both "alan","newyork" "jim","CA\",boston" and "alan","newyork" "jim","CA"",boston" But SELECT INTO OUTFILE generates the "non-standard" thing SELECT * FROM `csv` INTO OUTFILE 'file' FIELDS ENCLOSED BY '"' LINES TERMINATED BY '\r\n'; -- and file reads: "alan" "newyork" "jim" "CA\",boston" Excel for instance will not read this file correctly.
[6 Dec 2013 11:11]
MySQL Verification Team
Hello Valeriy, Thank you for the bug report and test case. Verified as described. Thanks, Umesh
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.