• Thirunarayanan Balathandayuthapani's avatar
    MDEV-20638 Remove the deadcode from srv_master_thread() and srv_active_wake_master_thread_low() · fe39d02f
    Thirunarayanan Balathandayuthapani authored
    - Due to commit fe95cb2e (MDEV-16125),
    InnoDB master thread does not need to call srv_resume_thread()
    and therefore there is no need to wake up the thread.
    Due to the above patch, InnoDB should remove the following dead code.
    
    srv_check_activity(): Makes the parameter as in,out and returns the
    recent activity value
    
    innobase_active_small(): Removed
    
    srv_active_wake_master_thread(): Removed
    
    srv_wake_master_thread(): Removed
    
    srv_active_wake_master_thread_low(): Removed
    
    Simplify srv_master_thread() and remove switch cases, added the assert.
    
    Replace srv_wake_master_thread() with srv_inc_activity_count()
    
    INNOBASE_WAKE_INTERVAL: Removed
    fe39d02f
srv0start.cc 80.8 KB