• unknown's avatar
    MDEV-4506: Parallel replication · 2cb4f07d
    unknown authored
    Fix access of freed memory in debug builds. When deleting serial_rgi,
    safe_mutex was trying to access current_thd, when that thd had just been
    deleted (I hate all this current_thd and other magic thread local storage crap
    used all over the code). Now delete the serial_rgi before the thd.
    2cb4f07d
slave.cc 225 KB