Issue Bug Closed

#25257Query with LIMIT does not work in ux_t3lib_db->exec_query

Werner Wallmeier 03/04/11, 14:38 updated 11/03/14, 15:08

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.