Clean up monitor initialization and destruction
Since monitors are now freed at MaxScale exit, the server data should be freed. Also, gtid domain variables are now initialized with a common constant.
This commit is contained in:
@ -49,7 +49,7 @@ MariaDBServer::MariaDBServer(MXS_MONITORED_SERVER* monitored_server)
|
||||
, m_n_slave_heartbeats(0)
|
||||
, m_heartbeat_period(0)
|
||||
, m_latest_event(0)
|
||||
, m_gtid_domain_id(-1)
|
||||
, m_gtid_domain_id(GTID_DOMAIN_UNKNOWN)
|
||||
{
|
||||
ss_dassert(monitored_server);
|
||||
}
|
||||
|
Reference in New Issue
Block a user