-
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: privilege check for SELECT INTO OUTFILE (#19553) #19577
planner: privilege check for SELECT INTO OUTFILE (#19553) #19577
Conversation
Signed-off-by: ti-srebot <[email protected]>
/run-all-tests |
@nullnotnil please accept the invitation then you can push to the cherry-pick pull requests. |
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 |
/run-unit-test |
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
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@ti-srebot merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
cherry-pick #19553 to release-4.0
What problem does this PR solve?
Problem Summary:
SELECT INTO OUTFILE should require the file privilege. This PR modifies it to use a MySQL compatible error when the privilege check fails.
What is changed and how it works?
Proposal: xxx
What's Changed:
How it Works:
Related changes
Check List
Tests
Side effects
Release note
SELECT INTO OUTFILE
now requires the FILE privilege.