Closed IljaN closed 10 months ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
I agree we should check the performance of other variations. I guess the current one is fine because we don't expect a massive usage, but the cross join is usually very expensive.
Why was no test added? @IljaN
User was reported to be in every custom-group as soon as he was in one custom-group by the inGroupByUri method.
http://sqlfiddle.com/#!17/9097f7/1
Incorrect resulting query
Correct/Intended query
Slightly-Offtopic: This should probably be refactored in to a LEFT JOIN?