-
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
*: refactor RestrictedSQLExecutor #11904
Conversation
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #11904 +/- ##
===========================================
Coverage ? 81.2449%
===========================================
Files ? 438
Lines ? 94444
Branches ? 0
===========================================
Hits ? 76731
Misses ? 12221
Partials ? 5492 |
Codecov Report
@@ Coverage Diff @@
## master #11904 +/- ##
===========================================
Coverage 81.2562% 81.2562%
===========================================
Files 438 438
Lines 94453 94453
===========================================
Hits 76749 76749
Misses 12231 12231
Partials 5473 5473 |
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.
lgtm
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.
LGTM
/run-all-tests |
Signed-off-by: Shuaipeng Yu jackysp@gmail.com
What problem does this PR solve?
sessionctx.Context
inRestrictedSQLExecutor
is useless.What is changed and how it works?
Refactor
RestrictedSQLExecutor
to make it no longer depend onsessionctx
.Check List
Tests
Code changes