• Oleg Smirnov's avatar
    MDEV-34683 Types mismatch when cloning items causes debug assertion · cf202dec
    Oleg Smirnov authored
    New runtime type diagnostic (MDEV-34490) has detected that classes
    Item_func_eq, Item_default_value and Item_date_literal_for_invalid_dates
    incorrectly return an instance of its ancestor classes when being cloned.
    This commit fixes that.
    
    Additionally, it fixes a bug at Item_func_case_simple::do_build_clone()
    which led to an endless loop of cloning functions calls.
    
    Reviewer: Oleksandr Byelkin <sanja@mariadb.com>
    cf202dec
item_cmpfunc.h 128 KB