-
Notifications
You must be signed in to change notification settings - Fork 663
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
Fails to run EXPLAIN query in SQL editor: Please check if the statement is correct #348
Comments
We need to address it in both frontend and backend to whitelist EXPLAIN. @boojack PTAL |
For frontend, I think do a simple validation to check whether it's SELECT or EXPLAIN SELECT is sufficient. |
@xiaoluoboding @tianzhou This failure is because of the frontend package |
@boojack just remove isValidStatement function, will be fine. I use the |
Already fixed in the latest version v0.12.0 |
数据库版本:MySQL57
平台版本:v0.11.0
部署方式:二进制部署
操作:
在 SQL editor 里面:
explain select * from abc;
报错:Please check if the statement is correct
The text was updated successfully, but these errors were encountered: