Bug #31663 | FIELDS TERMINATED BY special character | ||
---|---|---|---|
Submitted: | 17 Oct 2007 13:32 | Modified: | 3 Dec 2007 17:35 |
Reporter: | Gleb Shchepa | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0 and up | OS: | Any |
Assigned to: | Gleb Shchepa | CPU Architecture: | Any |
[17 Oct 2007 13:32]
Gleb Shchepa
[17 Oct 2007 14:13]
MySQL Verification Team
Thank you for the bug report.
[17 Oct 2007 15:00]
Gleb Shchepa
test case
Attachment: 31663.test (application/octet-stream, text), 629 bytes.
[17 Oct 2007 15:20]
Gleb Shchepa
Typo in the original bugreport, second phrase should be: This bug leads to corrupted data during the LOAD DATA INFILE statement with the same FIELDS *TERMINATED* BY clause.
[19 Oct 2007 12:04]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/35913 ChangeSet@1.2544, 2007-10-19 17:12:10+05:00, gshchepa@gleb.loc +5 -0 Fixed bug #31663: if the FIELDS TERMINATED BY string in the SELECT INTO OUTFILE clause starts with a special character (one of n, t, r, b, 0, Z or N) and ENCLOSED BY is empty, every occurrence of this character within a field value is duplicated. Duplication has been avoided. New warning message has been added: "First character of the FIELDS TERMINATED string is ambiguous; please use FIELDS ENCLOSED BY".
[22 Oct 2007 9:44]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/36013 ChangeSet@1.2544, 2007-10-22 14:54:20+05:00, gshchepa@gleb.loc +5 -0 Fixed bug #31663: if the FIELDS TERMINATED BY string in the SELECT INTO OUTFILE clause starts with a special character (one of n, t, r, b, 0, Z or N) and ENCLOSED BY is empty, every occurrence of this character within a field value is duplicated. Duplication has been avoided. New warning message has been added: "First character of the FIELDS TERMINATED string is ambiguous; please use FIELDS ENCLOSED BY".
[22 Oct 2007 19:52]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/36083 ChangeSet@1.2544, 2007-10-23 00:51:21+05:00, gshchepa@gleb.loc +5 -0 Fixed bug #31663: if the FIELDS TERMINATED BY string in the SELECT INTO OUTFILE clause starts with a special character (one of n, t, r, b, 0, Z or N) and ENCLOSED BY is empty, every occurrence of this character within a field value is duplicated. Duplication has been avoided. New warning message has been added: "First character of the FIELDS TERMINATED string is ambiguous; please use FIELDS ENCLOSED BY".
[23 Oct 2007 11:07]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/36117 ChangeSet@1.2544, 2007-10-23 16:16:59+05:00, gshchepa@gleb.loc +5 -0 Fixed bug #31663: if the FIELDS TERMINATED BY string in the SELECT INTO OUTFILE clause starts with a special character (one of n, t, r, b, 0, Z or N) and ENCLOSED BY is empty, every occurrence of this character within a field value is duplicated. Duplication has been avoided. New warning message has been added: "First character of the FIELDS TERMINATED string is ambiguous; please use non-optional and non-empty FIELDS ENCLOSED BY".
[16 Nov 2007 9:31]
Bugs System
Pushed into 5.0.52
[16 Nov 2007 9:33]
Bugs System
Pushed into 5.1.23-rc
[16 Nov 2007 9:36]
Bugs System
Pushed into 6.0.4-alpha
[3 Dec 2007 17:35]
Paul DuBois
Noted in 5.0.52, 5.1.23, 6.0.4 changelogs.