• Monty's avatar
    Cleanup of slave code: · 661a6d89
    Monty authored
    - Added testing if connection is killed to shortcut reading of connection data
      This will allow us later in 10.2 to do a cleaner shutdown of slaves (less errors in the log)
    - Add new status variables: Slaves_connected, Slaves_running and Slave_connections.
    - Use MYSQL_SLAVE_NOT_RUN instead of 0 with slave_running.
    - Don't print obvious extra warnings to the error log when slave is shut down normally.
    661a6d89
net_serv.cc 34.6 KB