Project

General

Profile

Actions

Bug #25257

closed

Query with LIMIT does not work in ux_t3lib_db->exec_query

Added by Werner Wallmeier over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The queryParts for LIMIT get lost in exec_query (LINE 923)

$limit = isset($queryParts['LIMIT']) ? $this->SQLparser->compileWhereClause($queryParts['LIMIT']) : '';
should be for MySQL
$limit = isset($queryParts['LIMIT']) ? $queryParts['LIMIT'] : '';
Postgres may need special treatment for OFFSET part

(issue imported from #M17866)

Actions

Also available in: Atom PDF