Actions
Bug #15535
closedSELECT COUNT(DISTINCT(xxx)) produces wrong field name
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-01-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The DBAL translates the above mentioned request to
SELECT COUNT`)
instead of
SELECT COUNT)
This problem leads to a malfunction in the tt_news extension.
Regards
--Marcel
(issue imported from #M2438)
Updated by Martin Kutschker about 18 years ago
I think this can be closed as COUNT) seems to be standard SQL and is supported by DBAL.
Updated by Karsten Dambekalns over 17 years ago
Is fixed according to my memory and #4496.
Updated by Karsten Dambekalns over 17 years ago
Works now (fixed in SVN), but be aware that DISTINCT is not a function, so don't use parentheses.
Actions