1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-9874 LOAD XML INFILE does not handle well broken multi-byte characters

- Moving the new my_charlen()-based code handling multi-byte characters
  from READ_INFO::field_field() to a new method READ_INFO::read_mbtail()
- Reusing read_mbtail() in READ_INFO::read_value(), instead of the old
  my_mbcharlen()-based code which did not catch broken byte sequences
This commit is contained in:
Alexander Barkov
2016-04-06 10:31:38 +04:00
parent d516a2ae0c
commit 00917fae7e
4 changed files with 91 additions and 47 deletions

View File

@ -0,0 +1 @@
<table><row><a>a<EFBFBD></a></row></table>