Fixed num servers counter
Fixed num servers counter
This commit is contained in:
@ -555,7 +555,12 @@ MONITOR_SERVERS *root_master;
|
|||||||
handle->status = MONITOR_STOPPED;
|
handle->status = MONITOR_STOPPED;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/* reset num_servers */
|
||||||
|
num_servers = 0;
|
||||||
|
|
||||||
|
/* start from the first server in the list */
|
||||||
ptr = handle->databases;
|
ptr = handle->databases;
|
||||||
|
|
||||||
while (ptr)
|
while (ptr)
|
||||||
{
|
{
|
||||||
/* copy server status into monitor pending_status */
|
/* copy server status into monitor pending_status */
|
||||||
|
|||||||
Reference in New Issue
Block a user