Comment 40 for bug 1042946

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Upstream fix in 5.5.31 and 5.6.11.

5.5$ bzr log -r 4175
------------------------------------------------------------
revno: 4175
committer: Venkatesh Duggirala<email address hidden>
branch nick: mysql-5.5
timestamp: Sat 2013-01-26 15:03:01 +0530
message:
  Bug#16056813-MEMORY LEAK ON FILTERED SLAVE

  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.

4674 in 5.6.