• Galina Shalygina's avatar
    MDEV-16090: Server crash in in Item_func_in::val_int or assertion `in_item' · 6c0f3dd3
    Galina Shalygina authored
                failure upon SELECT with impossible condition
    
    The problem appears because of a wrong implementation of the
    Item_func_in::build_clone() method. It didn't clone 'array' and 'cmp_fields'
    fields for the cloned IN predicate and this could cause crashes.
    The Item_func_in::fix_length_and_dec() method was refactored and a new method
    named Item_func_in::create_array() was created. It allowed to create 'array'
    for cloned IN predicates in a proper way.
    6c0f3dd3
derived_cond_pushdown.result 289 KB