Skip to content
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

Merged
merged 4 commits into from
May 16, 2016
Merged

Conversation

shenli
Copy link
Member

@shenli shenli commented May 13, 2016

Make it safe to create Handle on multiple stores.
Fix sql logic test.

Make it safe to create Handle on multiple stores.
@shenli
Copy link
Member Author

shenli commented May 14, 2016

@coocood @zimulala PTAL

var (
stmtInfos = make(map[reflect.Type]*statementInfo)
)
*/
Copy link
Member

Choose a reason for hiding this comment

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

This can be removed?

@shenli
Copy link
Member Author

shenli commented May 16, 2016

PTAL @zimulala @coocood

@coocood
Copy link
Member

coocood commented May 16, 2016

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) {
Copy link
Contributor

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)() ?

Copy link
Member Author

Choose a reason for hiding this comment

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

@zimulala PTAL

@zimulala
Copy link
Contributor

LGTM

@shenli shenli merged commit 93577c1 into master May 16, 2016
@shenli shenli deleted the shenli/fix-concurrent-bug branch May 16, 2016 08:32
xhebox pushed a commit to xhebox/tidb that referenced this pull request Sep 28, 2021
…gcap#1232)

This allows validating passwords against the `authentication_string`
data that MySQL stores for caching_sha2 passwords.

Related:
- pingcap#9411
xhebox pushed a commit to xhebox/tidb that referenced this pull request Oct 8, 2021
…gcap#1232)

This allows validating passwords against the `authentication_string`
data that MySQL stores for caching_sha2 passwords.

Related:
- pingcap#9411
ti-chi-bot pushed a commit that referenced this pull request Oct 9, 2021
This allows validating passwords against the `authentication_string`
data that MySQL stores for caching_sha2 passwords.

Related:
- #9411
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