• Aleksey Midenkov's avatar
    MDEV-22563 Segfault on duplicate free of Item_func_in::array · a4996f95
    Aleksey Midenkov authored
    Same array instance in two Item_func_in instances. First Item_func_in
    instance is freed on table close. Second one is freed on
    cleanup_after_query().
    
    get_copy() depends on copy ctor for copying an item and hence does
    shallow copy for default copy ctor. Use build_clone() for deep copy of
    Item_func_in.
    a4996f95
field.cc 326 KB