Fix false error message
The error message for failure to connect to any server was always logged when the schemarouter was used.
This commit is contained in:
parent
d19e5b376d
commit
9efcea4cec
@ -873,7 +873,7 @@ static int get_users(SERV_LISTENER *listener)
|
||||
|
||||
MXS_FREE(dpwd);
|
||||
|
||||
if (server == NULL)
|
||||
if (server == NULL && total_users == -1)
|
||||
{
|
||||
MXS_ERROR("Unable to get user data from backend database for service [%s]."
|
||||
" Failed to connect to any of the backend databases.", service->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user