Simplify handling of "client data" by having a pointer to it only in DCB and not in session structure. Change name of session->client to session->client_dcb for greater clarity. Temporary free of client data in DCB, to be moved to authenticator when it becomes a module. Fix incorrect name of listener_alloc.
This commit is contained in:
@ -1282,7 +1282,7 @@ int gw_send_change_user_to_backend(char *dbname,
|
||||
int rc;
|
||||
MYSQL_session* mses;
|
||||
|
||||
mses = (MYSQL_session*)conn->owner_dcb->session->client->data;
|
||||
mses = (MYSQL_session*)conn->owner_dcb->session->client_dcb->data;
|
||||
buffer = gw_create_change_user_packet(mses, conn);
|
||||
rc = conn->owner_dcb->func.write(conn->owner_dcb, buffer);
|
||||
|
||||
|
Reference in New Issue
Block a user