• mats@kindahl-laptop.dnsalias.net's avatar
    BUG#29968 (rpl_ndb_circular.test and rpl_ndb_log.test fail): · 65399a4b
    mats@kindahl-laptop.dnsalias.net authored
    Removing unguarded read of slave_running field from inside
    terminate_slave_threads(). This could cause premature exit in the event
    that the slave thread already were shutting down, but isn't finished yet.
    
    The fields slave_running, io_thd, and sql_thread are guarded by an
    associated run_lock. A read of these fields were not guarded inside
    terminate_slave_threads(), which caused an assertion to fire. The
    assertion was removed, and the code reorganized slightly.
    65399a4b
slave.cc 132 KB