• sven@murkla.(none)'s avatar
    BUG#30752 rpl_dual_pos_advance valgrind (jump depends on uninitialized LOG_INFO) · 5daff654
    sven@murkla.(none) authored
    Problem: one thread could read uninitialized memory from (the stack of) another
    thread.
    Fix: swapped order of initializing the memory and making it available to the
    other thread.
    Fix: put lock around the statement that makes the memory available to the other
    thread.
    Fix: all fields of the struct are now initialized in the constructor, to avoid
    future problems.
    5daff654
sql_repl.cc 46.5 KB