MXS-2220 Change server name to constant string
This commit is contained in:
@ -649,7 +649,7 @@ int gssapi_auth_load_users(Listener* listener)
|
||||
if (mxs_mysql_query(mysql, gssapi_users_query))
|
||||
{
|
||||
MXS_ERROR("Failed to query server '%s' for GSSAPI users: %s",
|
||||
servers->server->name,
|
||||
servers->server->name(),
|
||||
mysql_error(mysql));
|
||||
}
|
||||
else
|
||||
|
@ -107,7 +107,7 @@ bool extract_principal_name(DCB* dcb, GWBUF* buffer)
|
||||
* it's possible that the server authenticated us as the anonymous user. This
|
||||
* means that the server is not secure. */
|
||||
MXS_ERROR("Server '%s' returned an unexpected authentication response.%s",
|
||||
dcb->server->name,
|
||||
dcb->server->name(),
|
||||
databuf[0] == MYSQL_REPLY_OK ?
|
||||
" Authentication was complete before it even started, "
|
||||
"anonymous users might not be disabled." : "");
|
||||
|
Reference in New Issue
Block a user