Skip to content

Make RegisterDial safe to call from multiple goroutines. #773

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

Merged
merged 1 commit into from
Apr 13, 2018

Conversation

zombiezen
Copy link
Contributor

@zombiezen zombiezen commented Mar 27, 2018

Fixes #772

Description

Added a RWMutex to protect dials.

Checklist

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

@arnehormann arnehormann merged commit 3287d94 into go-sql-driver:master Apr 13, 2018
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