diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-04-06 10:31:38 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-04-06 10:31:38 +0400 |
commit | 00917fae7e2575481b7daaaf077bcd952bf9bb4c (patch) | |
tree | 6f8f89fd801bf987fdf4c4ebd1d79454f10e6945 /mysql-test/std_data/loaddata | |
parent | d516a2ae0cbd09d3b5b1667ec62b421330ab9902 (diff) | |
download | mariadb-git-00917fae7e2575481b7daaaf077bcd952bf9bb4c.tar.gz |
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
Diffstat (limited to 'mysql-test/std_data/loaddata')
-rw-r--r-- | mysql-test/std_data/loaddata/mdev9874.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/std_data/loaddata/mdev9874.xml b/mysql-test/std_data/loaddata/mdev9874.xml new file mode 100644 index 00000000000..513a0dff2be --- /dev/null +++ b/mysql-test/std_data/loaddata/mdev9874.xml @@ -0,0 +1 @@ +<table><row><a>aŠ</a></row></table>
\ No newline at end of file |