Skip to content

Fixes #389 by not sending COM_QUIT until authenticated. Also refactor… #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

daniel-nichter
Copy link
Contributor

…s auth response handling code into func to reduce some duplication of logic. Test requires a MySQL socket and user having privs to use it.

…Also refactors auth response handling code into func to reduce some duplication of logic. Test requires a MySQL socket and user having privs to use it.
@julienschmidt
Copy link
Member

LGTM
@arnehormann?

@arnehormann
Copy link
Member

@daniel-nichter thank you for this, also thanks for sorting AUTHORS.
LGTM
Very minor nit: explicit return values in handleAuthResult?

@daniel-nichter
Copy link
Contributor Author

@arnehormann Fixed. The implicit return style was inherited from the original mysqlConn.Close.

julienschmidt added a commit that referenced this pull request Jan 6, 2016
…broken-pipe-error

Fixes #389 by not sending COM_QUIT until authenticated. Also refactor…
@julienschmidt julienschmidt merged commit d8a5f6c into go-sql-driver:master Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants