-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 data race in the SessionVars.InRestrictedSQL #30920
*: fix data race in the SessionVars.InRestrictedSQL #30920
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
294e488
to
8590393
Compare
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/d398e3db239d3b5d0d410e860e8c56c7eb30a728 |
/run-all-tests |
d2f2bdc
to
9d741e6
Compare
9d741e6
to
b0e6be8
Compare
f1e48c0
to
52a6bc4
Compare
/run-unit-test |
session/session.go
Outdated
@@ -1528,12 +1528,7 @@ func (s *session) ParseWithParams(ctx context.Context, sql string, args ...inter | |||
|
|||
// ParseWithParamsInternal is same as ParseWithParams except set `s.sessionVars.InRestrictedSQL = true` |
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.
Wrong comment and function name.
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.
Remove all ParseWithParamsInternal
.
/run-check_dev_2 |
303d8a3
to
372c501
Compare
refactor #30843 |
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
0d48491
to
68fc1d9
Compare
/merge |
/merge cancel |
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
68fc1d9
to
d398e3d
Compare
/merge |
This pull request has been accepted and is ready to merge. Commit hash: d398e3d
|
@hawkingrei: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/hold |
c34b1d5
to
d398e3d
Compare
Signed-off-by: Weizhen Wang wangweizhen@pingcap.com
What problem does this PR solve?
Issue Number: close #30918
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note