Details
-
New Feature
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
Q2/2026 Server Maintenance
Description
Any value of the XMLTYPE should always be a well-formed xml. Meaning, only one root node, all nodes are properly closed and correctly nested, etc.
And string->xml cast, implicit or explicit, should verify that, the XMLTYPE column supposed to reject anything but the Well-formed XML.
Attachments
Issue Links
- causes
-
MDEV-39536 ASAN heap-buffer-overflow in process_str_arg upon ER_TRUNCATED_WRONG_VALUE "Incorrect XML value"
-
- Closed
-
-
MDEV-39570 LeakSanitizer: detected memory leaks after insert with xmltype
-
- Closed
-
-
MDEV-39575 Protocol::end_statement(): Assertion `0' failed after insert into xmltype union of valid and invalid xml
-
- Closed
-
-
MDEV-39577 Protocol::end_statement(): Assertion `0' failed with invalid xmltype + sql_mode=''
-
- Closed
-
-
MDEV-39589 Wrong results with xmltype as a virtual column
-
- Closed
-
-
MDEV-39590 ASAN heap-buffer-overflow in process_str_arg upon ER_TRUNCATED_WRONG_VALUE "Incorrect XML value"
-
- Open
-
-
MDEV-39592 ALTER.. with xmltype silently overwrites row with prior rows data
-
- Closed
-
-
MDEV-39599 AddressSanitizer: heap-use-after-free in escape_string_for_mysql after sp with invalid xml (xmltype))
-
- Closed
-
-
MDEV-39653 AddressSanitizer: heap-use-after-free in my_mb_wc_latin1/../Field_xmltype::store after invalid xml
-
- Closed
-
-
MDEV-39655 No warning after CAST( AS xmltype)
-
- Open
-
-
MDEV-39683 Numeric aggregates should end up with an error for xmltype
-
- Open
-
- is blocked by
-
MDEV-37261 Basic XML data type
-
- Closed
-
- relates to
-
MDEV-37262 XMLISVALID() schema validation function
-
- Stalled
-
-
MDEV-39684 extra warning "Unknown error" after update with invalid xmltype
-
- Open
-
-
MDEV-39686 Wrong result with group by CAST(s AS XMLTYPE);
-
- Open
-
-
MDEV-39696 Xmltype with math operators should end up with Error:Illegal parameter data types
-
- Open
-
-
MDEV-39698 XMLTYPE value stored in a user variable loses the type (and hence all checks), becomes longtext
-
- Open
-
- links to