-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix counter leak in nonsuper_connections (#1069)
Summary: If a non-super user connects to mysqld with an invalid database name, nonsuper_connections is incremented, but never decremented. Squash with D13987618 8.0 porting notes: Since nonsuper_connections is already decremented by calling release_user_connection(), changes to the code are not needed. Test is ported though to make sure the leak won't appear again. Reference Patch: 3cc5162fdc2 Pull Request resolved: #1069 Reviewed By: yizhang82 Differential Revision: D19129736 Pulled By: hermanlee fbshipit-source-id: 64a9117
- Loading branch information
1 parent
b7d4260
commit 8a269ee
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters