Fixed num servers counter
Fixed num servers counter
This commit is contained in:
parent
dd54dde4ef
commit
439cedc800
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user