Merge commit 'a78f0fbe2537542dc7f3f0dd8b19b93ac8d9d7f8' into develop
This commit is contained in:
@ -104,10 +104,9 @@ void CsMonitor::update_server_status(MonitorServer* srv)
|
||||
{
|
||||
status |= SERVER_RUNNING;
|
||||
|
||||
if (get_cs_version(srv) >= 10107)
|
||||
if (get_cs_version(srv) >= 10200)
|
||||
{
|
||||
// 1.1.7 should support the mcsSystemPrimary function
|
||||
// TODO: Update when the actual release is out
|
||||
// 1.2 supports the mcsSystemPrimary function
|
||||
status |= do_query(srv, role_query) == "1" ? SERVER_MASTER : SERVER_SLAVE;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user