I dump some data into an XML file:
Now I create table and a view with a non-updatable column:
And try to load data into it:
The server crashed, either immediately, or on the next query.
The crash happens because read_xml_field casts item to Item_user_var_as_out_param without checking for proper Item type, in these two places: