[MDEV-11631] LOAD DATA INFILE fails to load data with an escape character followed by a multi-byte character Created: 2016-12-22 Updated: 2017-01-09 Resolved: 2017-01-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 5.5.52, 5.5.53 |
| Fix Version/s: | 5.5.55, 10.0.29, 10.1.21 |
| Type: | Bug | Priority: | Major |
| Reporter: | Richard Stracke | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Bug Same steps to reproduce
Now I try to load this file into a table:
It fails with this error:
|
| Comments |
| Comment by Alexander Barkov [ 2016-12-22 ] |
|
I'm somewhat afraid of backporting it to 5.5. The LOAD code has always been very fragile. Fixing one problem often introduced another problem. So in 10.2 we completely rewrote it. Hopefully starting from 10.2 it will work fine. When we backported an extraction of the 10.2 patch to 10.0/10.1, it was a partial backport only, so some unexpected side effects are possible when the old code fragments are involved. Backporting it to 5.5 makes the things even more dangerous. |
| Comment by Alexander Barkov [ 2016-12-22 ] |
|
dangerous to backport to 5.5. |
| Comment by Sergei Golubchik [ 2017-01-04 ] |
|
still need to test if it's fixed by the latest 5.5 merge and add a test case |
| Comment by Alexander Barkov [ 2017-01-09 ] |
|
The patch c3cf7f47f0f4a1ec314001aaf0c3d9c1c1f62097 fixed this problem. |