[MDEV-9811] LOAD DATA INFILE does not work well with gbk in some cases Created: 2016-03-28 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 am empty table:
and an external file with this GBK text data:
Note, the file can be checked with:
The file consists of:
Now I want to treat the '@' characters as line separators and load the file into the table:
It correctly recognized two lines. Now I want to skip the first line and reload the data:
The result is wrong. It still returns two lines.
|