Remove depth field from SERVER
It was not really used anymore.
This commit is contained in:
@ -115,12 +115,10 @@ void NDBCMonitor::update_server_status(MXS_MONITORED_SERVER* monitored_server)
|
||||
if (isjoined)
|
||||
{
|
||||
monitor_set_pending_status(monitored_server, SERVER_NDB);
|
||||
monitored_server->server->depth = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
monitor_clear_pending_status(monitored_server, SERVER_NDB);
|
||||
monitored_server->server->depth = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user