Review main Merged

21091[BUGFIX] Prevent statements with COUNT() and ORDER BY parts for PostgreSQL

Thomas Maroschik CR +2 V +2 Normal +104 −0 updated 07/18/15, 14:11

Commit message

In PostgreSQL it's not allowed to use a COUNT statement with an ORDER BY
statement as long as the field for sorting not available in GROUP BY
clause. Therefor we have to parse the SQL and drop ORDER BY clause for
selections with a count.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5