[BUGFIX] Ordering without grouping is incompatible with non-MySQL DBMS
authorIngo Pfennigstorf <i.pfennigstorf@gmail.com>
Sat, 8 Sep 2012 20:04:13 +0000 (22:04 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 20 Jan 2013 15:55:18 +0000 (16:55 +0100)
commit36d01f971888b7456218f495d40658c66f6b521c
treeaa056cd488f4663fde52a7805c90ca77611ba847
parent9f7b5e35a39ba4d7931e0e3e2e1c973b4538ec7c
[BUGFIX] Ordering without grouping is incompatible with non-MySQL DBMS

Each SELECT COUNT(*) statement has orderings. This fixes the
behaviour that is incompatible to database systems other than
MySQL and also is not needed as only an integer is returned.

Thanks to Xavier Perseguers for the patch.

Change-Id: I81a51dc6a7978434ef8e7751d7c72823e88fe550
Fixes: #25873
Releases: 1.3, 1.4, 4.7, 6.0
Reviewed-on: https://review.typo3.org/14461
Reviewed-by: Xavier Perseguers
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Xavier Perseguers
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php