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

MDEV-12696 Crash with LOAD XML and non-updatable VIEW column

extend the fix from 5.5 (in read_sep_field()) to apply to read_xml_field()
This commit is contained in:
Sergei Golubchik
2017-05-08 19:23:39 +02:00
parent d738722eee
commit fbdf18f86e
4 changed files with 62 additions and 12 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<resultset statement="SELECT 'test' AS c1, NULL AS c2
" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<row>
<field name="c1">test</field>
<field name="c2" xsi:nil="true" />
</row>
</resultset>