Fixed num servers counter

Fixed num servers counter
This commit is contained in:
MassimilianoPinto 2014-06-30 19:33:30 +02:00
parent dd54dde4ef
commit 439cedc800

View File

@ -555,7 +555,12 @@ MONITOR_SERVERS *root_master;
handle->status = MONITOR_STOPPED;
return;
}
/* reset num_servers */
num_servers = 0;
/* start from the first server in the list */
ptr = handle->databases;
while (ptr)
{
/* copy server status into monitor pending_status */