Skip to content

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