• Dmitry Shulga's avatar
    MDEV-32369: Memory leak when executing PS for query with IN subquery · ac151414
    Dmitry Shulga authored
    The memory allocated for an instance of the class Item_direct_ref_to_item
    was leaked on second execution of a query run as a prepared statement and
    involving conversion of strings with different character sets.
    
    The reason of leaking the memory was caused by the fact that a statement
    arena could be already set by the moment the method
    Type_std_attributes::agg_item_set_converter() is called.
    ac151414
ps_mem_leaks.test 721 Bytes