-
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
Skip privilege check in Information schema #29675
Comments
this will affect version after 5.1.0, the root cause is no db info in processing process. |
I checked master and master 6512fe5 is not affected |
I chatted with @yiwen92 about it. It is not quite straight forward to cherry pick (it is based on other changes for dynamic privileges) but it should be easy enough to write a patch specific to 5.0. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
exec good without error,just like mysql 8.0
3. What did you see instead (Required)
raise error: (8121, 'privilege check fail')
4. What is your TiDB version? (Required)
Release Version: v5.0.x and v4.0.x
The text was updated successfully, but these errors were encountered: