Run PreventSetOperatorMismatch query analyzer only when needed
What does this MR do and why?
This commit makes query detection more precise so this analyzer is not run on queries like:
SELECT deny_all_requests_except_allowed from application_settings
This slowed down application settings specs.
See gitlab-org/quality/engineering-productivity/team#323 (comment 1681865461)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Leitzen