Skip to content

Conversation

@iliacimpoes
Copy link
Contributor

@iliacimpoes iliacimpoes commented Oct 19, 2018

Description

Currently connection is not marked as "Bad Connection" in Ping method, so a bad connection is not removed from connection pool.

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary
  • Added myself / the copyright holder to the AUTHORS file

Copy link
Member

@julienschmidt julienschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code changes look good. Thank you!

Please add yourself to the AUTHORS file, so we can merge the PR.

@julienschmidt julienschmidt added this to the v1.4.1 milestone Oct 19, 2018
@julienschmidt julienschmidt merged commit 0f257fc into go-sql-driver:master Oct 19, 2018
@iliacimpoes
Copy link
Contributor Author

@methane @julienschmidt, thanks for the quick review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants