Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#323·soar

【BUG】逻辑问题:条件判断不完整

Author: 18108851659-yzhCreated Dec 23, 2025Updated Dec 23, 2025

https://github.com/XiaoMi/soar/blob/5ed8574ae59f5c9eb8a2c7d33d14747bb46c1229/advisor/index.go#L294C4-L297C5

这段代码实现有问题,条件判断不准确:注释和代码逻辑不匹配,可能产生误导建议:在存在非等值查询时仍然建议GROUP BY索引

Source: XiaoMi/soar

View original on GitHubView discussion on GitHub