-
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/REVOKE ON non-existent table incorrectly returns error #28533
Comments
It is reasonable to assume this could cause compatibility issues because a user might grant access to objects before creating them. |
@morgo could you elaborate a bit the semantic of grant on a non-existing table? It seems if the user create |
Also we have a label |
Yes that's right, you can see this from the t1 example. I am not sure if this is explicitly documented in MySQL, but I discovered this by looking at the test suite.
Compatibility imho means "both examples could be considered correct but TiDB differs from MySQL". Bug means, there is a behavior difference which is considered wrong and could be more serious. |
/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)
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: