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

规则:禁止对联合索引左侧字段进行IN 、OR等非等值查询;没有覆盖子查询的情况 #2204

Open
hasa1K opened this issue Jan 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hasa1K
Copy link
Collaborator

hasa1K commented Jan 4, 2024

SQLe Version
v3
Describe the bug
开启规则禁止对联合索引左侧字段进行IN 、OR等非等值查询;对下图中的sql审核没有触发规则
image

将子查询中的语句单独拎出来审核,可以触发规则
image

目前看该规则没有覆盖子查询,期望可以覆盖子查询的情况
To Reproduce

Expected behavior

Suggestion

@hasa1K hasa1K added the bug Something isn't working label Jan 4, 2024
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