• igor@olga.mysql.com's avatar
    Fixed bug #25398: crash in a trigger when using trigger fields · 86ef1cbf
    igor@olga.mysql.com authored
    in a select list.
    The objects of the Item_trigger_field class inherited the implementations
    of the methods copy_or_same, get_tmp_table_item and get_tmp_table_field
    from the class Item_field while they rather should have used the default
    implementations defined for the base class Item.
    It could cause catastrophic problems for triggers that used SELECTs
    with select list containing trigger fields such as NEW.<table column>
    under DISTINCT.
    86ef1cbf
trigger.test 48.7 KB