[MDEV-9824] LOAD DATA does not work with multi-byte strings in LINES TERMINATED BY when IGNORE is specified Created: 2016-03-29 Updated: 2016-03-31 Resolved: 2016-03-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2 |
| Fix Version/s: | 10.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I have a file:
The file looks like this in a text editor:
This script:
warns that the separator is non-ASCII:
but otherwise works without problems and correctly returns these records:
Now if I slightly modify the script to skip the first line:
it returns empty set instead of two records. |