Version errors for SHOW SLAVE STATUS now only print once.

This commit is contained in:
Markus Makela
2015-06-29 10:24:16 +03:00
parent 5c7a30e9fe
commit 0062d9d2b7
4 changed files with 18 additions and 6 deletions

View File

@ -192,6 +192,7 @@ monitorAddServer(MONITOR *mon, SERVER *server)
db->con = NULL;
db->next = NULL;
db->mon_err_count = 0;
db->log_version_err = true;
/** Server status is uninitialized */
db->mon_prev_status = -1;
/* pending status is updated by get_replication_tree */