• unknown's avatar
    Fix memory leak introduced with merge of mysql 5.5. · 166d4c1f
    unknown authored
    MySQL introduced a class Deferred_log_events. This class keeps a pointer
    last_added. The code was keeping this pointer around even after the memory
    pointed to was freed, and later comparing the bogus pointer against other
    allocated memory. This is illegal, and can randomly produce false equal
    comparisons depending on whatever the malloc() subsystem decides to return.
    166d4c1f
rpl_utility.cc 33.2 KB