Remove depth field from SERVER

It was not really used anymore.
This commit is contained in:
Esa Korhonen
2018-06-27 14:07:12 +03:00
parent 960d08a36a
commit a59c0c61ce
7 changed files with 13 additions and 42 deletions

View File

@ -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;
}
}