Project

General

Profile

Actions

Bug #17510

closed

stdWrap.numRows not DBAL safe

Added by Martin Kutschker over 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-08-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The problem is that a user may use a copy of styles.content.get to set up a query. This will set an order clause. But in PostgreSQL (and probably other RDBMs) any column in the order clause must be either used in an aggragte funtion (where clause) or in the group-by clause.

To fix this issue the function should unset the "sorting" poperty as with a COUNT the ordering is irrelevant.

(issue imported from #M6109)

Actions

Also available in: Atom PDF