MXS-1775 Move status management to MonitorInstance
This commit is contained in:
@ -455,16 +455,13 @@ void MMMonitor::main()
|
||||
return;
|
||||
}
|
||||
|
||||
m_status = MXS_MONITOR_RUNNING;
|
||||
load_server_journal(mon, &m_master);
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (m_shutdown)
|
||||
{
|
||||
m_status = MXS_MONITOR_STOPPING;
|
||||
mysql_thread_end();
|
||||
m_status = MXS_MONITOR_STOPPED;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user