-
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
Grant SELECT and INSERT to non-existent table should report an error #29268
Comments
/cc @morgo @unconsolable It seems we produce another error after fixing one. |
I don't think it's only related to |
I guess in MySQL 8.0.27 it is determined by whether
For revoke it seems that no such limitation. It seems reasonable to some degree as a user can have the priv to create a non-existing table with other privs. |
But I do test on MySQL 8.0.27, |
Sorry, my bad. You are right. @unconsolable |
/assign |
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
This is really confusing in MySQL:
When granting
ALTER
, orINSERT, CREATE
privileges, it works, see #28533However, when granting
INSERT
orSELECT
, it doesn't work.2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: