mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-28 13:34:24 +01:00
1. `group_by_contains_all` was incorrect - it was not checking that all order by columns are in group by; it was instead checking that all group by columns are in order by, which is absolutely incorrect for the intended purpose. 2. remove ORDER BY clause if GROUP BY clause can sort the rows in the same way. Test failures are not related Reviewed-by: Pere Diaz Bou <pere-altea@homail.com> Closes #1511