• Venkatesh Duggirala's avatar
    Bug#16056813-MEMORY LEAK ON FILTERED SLAVE · 08a22ba1
    Venkatesh Duggirala authored
    Due to not resetting a member (last_added) of 
    Deferred events class inside a clean up function
    (Deferred_log_events::rewind), there is a memory
    leak on filtered slaves.
    
    Fix:
    Resetting last_added to NULL in rewind() function.
    
    sql/rpl_utility.cc:
      Resetting last_added to NULL to avoid memory leak
    08a22ba1
rpl_utility.cc 31.5 KB