• Monty's avatar
    MDEV-8476 Race condition in slave SQL thread shutdown · e8c1b35f
    Monty authored
    Patch backported from MariaDB 10.1
    
    - Ensure that we wait with cleanup() until slave thread has stopped.
    - Added signal_thd_deleted() to signal close_connections() that all THD's has been freed.
    
    Other things
    - Removed not needed calls to THD_CHECK_SENTRY() when we are calling 'delete thd'.
    e8c1b35f
mysqld.cc 331 KB