diff options
author | Monty <monty@mariadb.org> | 2016-01-03 13:20:07 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-01-03 13:20:07 +0200 |
commit | 661a6d89065390ca1e9b4be05219b75f850ed290 (patch) | |
tree | 5e58bf86d9880d4cfc23eb71e074135b9e3ed45a /sql/sql_class.h | |
parent | 4b4777ab63522b2bdd1f98ad03558a5b1da53dc0 (diff) | |
download | mariadb-git-661a6d89065390ca1e9b4be05219b75f850ed290.tar.gz |
Cleanup of slave code:
- 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.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index a94236aec0b..8264921cabd 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -656,6 +656,7 @@ typedef struct system_status_var { ulong com_other; ulong com_stat[(uint) SQLCOM_END]; + ulong com_register_slave; ulong created_tmp_disk_tables_; ulong created_tmp_tables_; ulong ha_commit_count; |