• unknown's avatar
    MDEV-4506: Parallel replication · e0596200
    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.
    e0596200
slave.cc 225 KB