Cleanup SERVER struct
Removed one unused field. Rearranged others, clarified comments.
This commit is contained in:
@ -622,7 +622,7 @@ int gssapi_auth_load_users(SERV_LISTENER *listener)
|
||||
if (mxs_mysql_query(mysql, gssapi_users_query))
|
||||
{
|
||||
MXS_ERROR("Failed to query server '%s' for GSSAPI users: %s",
|
||||
servers->server->unique_name, mysql_error(mysql));
|
||||
servers->server->name, mysql_error(mysql));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -150,7 +150,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->unique_name, databuf[0] == MYSQL_REPLY_OK ?
|
||||
dcb->server->name, databuf[0] == MYSQL_REPLY_OK ?
|
||||
" Authentication was complete before it even started, "
|
||||
"anonymous users might not be disabled." : "");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user