Review main Merged

51313[BUGFIX] Extbase: Don't use ORDER BY with COUNT(*) SQL statements

Morton Jonuschat CR +2 V +2 Easy +6 −2 updated 01/15/17, 21:24

Commit message

Databases that adhere to the SQL92 standard and enforce having all
columns that are using in any part of the query be part of the
SELECT/COUNT field list will throw an error when using COUNT(*) in
combination with ORDER BY.
Since ordering has no influence on the result of COUNT(*) the
ORDER BY query part has been disabled in getObjectCountByQuery().

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 1