-
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
planner/core: fix point-get db privilege check #12268
Conversation
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #12268 +/- ##
===========================================
Coverage 81.1786% 81.1786%
===========================================
Files 454 454
Lines 99079 99079
===========================================
Hits 80431 80431
Misses 12880 12880
Partials 5768 5768 |
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 |
cherry pick to release-3.0 failed |
cherry pick to release-2.1 failed |
cherry pick to release-3.1 failed |
@lysu This PR has been labeled with |
What problem does this PR solve?
current point-get code path checks db privilege by current db and miss check
db1
privilege for query usingdb.tbl1
.and see more detail in test case.
What is changed and how it works?
check privilege using db in ast tree if it exists.
Check List
Tests
Code changes
Side effects
Related changes
Release note
This change is