Some of the EFQ tests fail with:
Exception thrown: SQLSTATE[42000]: [Microsoft][SQL Server Native Client 10.0][SQL Server]ORDER BY items must appear in the select list if SELECT DISTINCT is specified.
This is a case of core outputting an invalid SQL query, but we can probably workaround it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 986760-order-by-group-by-clause.patch | 3.33 KB | damien tournoud |
Comments
Comment #1
damien tournoud commentedSuggested patch. This makes the EFQ tests pass.
Comment #2
ben.bunk commentedWill test this shortly.
Comment #3
ben.bunk commentedI have tested this to fix this related bug #1013396: User list query fails on SQL Server
Comment #4
damien tournoud commentedCommitted to HEAD.