mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 03:54:21 +01:00
We had a bug where we were checking for duplicates in the DISTINCT index based on both the result column count plus any ORDER BY columns not present in the DISTINCT clause. This is wrong, so fix it by only using the result columns for the dedupe check.