Skip to content
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

sql语句中带有别名,没有触发审核规则 #2055

Open
quexiuping opened this issue Nov 21, 2023 · 0 comments
Open

sql语句中带有别名,没有触发审核规则 #2055

quexiuping opened this issue Nov 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@quexiuping
Copy link
Member

SQLe Version
UI Version: main a5fa134
Server Version: release-2.9999.x-ee 9917a24217

Describe the bug
sql:
select a.* from test where 0=1;
select a.id from test a where 0=1;
select a.id from test where 0=1

To Reproduce
image

select a.* from test where 0=1; 预期应报错
mysql> select a.* from test where 0=1;
ERROR 1051 (42S02): Unknown table 'a'

@quexiuping quexiuping added the bug Something isn't working label Nov 21, 2023
@quexiuping quexiuping changed the title sql语句中带有别名,没有出发审核规则 sql语句中带有别名,没有触发审核规则 Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant