Rename MXS_MONITOR::databases to MXS_MONITOR::monitored_servers

More descriptive name. Some local varaibles could now also be
renamed to be more descriptive, but that's for another day.
This commit is contained in:
Johan Wikman
2017-10-02 15:31:54 +03:00
parent 8d03876e3e
commit 68432bbaa3
9 changed files with 71 additions and 71 deletions

View File

@ -182,7 +182,7 @@ struct mxs_monitor
char password[MAX_MONITOR_PASSWORD_LEN]; /*< Monitor password */
SPINLOCK lock;
MXS_CONFIG_PARAMETER* parameters; /*< configuration parameters */
MXS_MONITORED_SERVER* databases; /*< List of databases the monitor monitors */
MXS_MONITORED_SERVER* monitored_servers; /*< List of servers the monitor monitors */
monitor_state_t state; /**< The state of the monitor */
int connect_timeout; /**< Connect timeout in seconds for mysql_real_connect */
int connect_attempts; /**< How many times a connection is attempted */