Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Cursor and ps protocols because of server design vary the paths taken though the SQL significantly. The UBSAN applies strict testing of the data types passed so a developer cast of the data type may work correctly in a normal mode but fail under protocol.
An example of this is MDEV-37503 where it was assumed all items where Fields. UBSAN under ps-protocol showed clearly this wasn't the case.
MDEV-37438 is another example.
Attachments
Issue Links
- relates to
-
MDEV-37438 Downcast of address to Item_func_eq but of type Item_func_equal in opt_split.cc(add_ext_keyuse_for_splitting) found with UBSAN
-
- Closed
-
-
MDEV-37503 UBSAN: downcast Item_func_plus to Item_field invalid in mysql_test_update(sql/sql_prepare.cc:1516)
-
- Open
-