• Marko Mäkelä's avatar
    Cleanup: Reduce que_thr_t, que_fork_t, trx_lock_t size · f544a712
    Marko Mäkelä authored
    que_thr_t::magic_n: Remove. Access to freed data is best caught
    by AddressSanitizer.
    
    que_thr_t::start_running(): Replaces que_thr_move_to_run_state_for_mysql()
    and que_thr_move_to_run_state(), which were identical non-inline functions.
    
    que_thr_t::stop_no_error(): Replaces que_thr_stop_for_mysql_no_error().
    
    que_fork_t::n_active_thrs, trx_lock_t::n_active_thrs: Make debug-only.
    
    que_fork_t::set_active(bool active): Update n_active_thrs.
    f544a712
que0que.h 15.2 KB