-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: Fix infoschema/perfschema concurrent bugs #1232
Conversation
Make it safe to create Handle on multiple stores.
var ( | ||
stmtInfos = make(map[reflect.Type]*statementInfo) | ||
) | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed?
LGTM |
@@ -194,6 +197,33 @@ func (*testSuite) TestT(c *C) { | |||
c.Assert(col, NotNil) | |||
} | |||
|
|||
// Make sure it is safe to concurrently create handle on multiple stores. | |||
func (testSuite) TestConcurrent(c *C) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add defer testleak.AfterTest(c)()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zimulala PTAL
LGTM |
…gcap#1232) This allows validating passwords against the `authentication_string` data that MySQL stores for caching_sha2 passwords. Related: - pingcap#9411
…gcap#1232) This allows validating passwords against the `authentication_string` data that MySQL stores for caching_sha2 passwords. Related: - pingcap#9411
This allows validating passwords against the `authentication_string` data that MySQL stores for caching_sha2 passwords. Related: - #9411
Make it safe to create Handle on multiple stores.
Fix sql logic test.