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:
@ -873,7 +873,7 @@ static int get_users(SERV_LISTENER *listener)
|
|||||||
|
|
||||||
MXS_FREE(dpwd);
|
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]."
|
MXS_ERROR("Unable to get user data from backend database for service [%s]."
|
||||||
" Failed to connect to any of the backend databases.", service->name);
|
" Failed to connect to any of the backend databases.", service->name);
|
||||||
|
Reference in New Issue
Block a user