HomePhabricator

DynamicPageList: Use more standard LIMIT syntax

Authored by Jjanes.

Description

DynamicPageList: Use more standard LIMIT syntax

MySQL offers a syntax of LIMIT $offset,$limit.

PostgreSQL does not, so use the mutually compatible
syntax of LIMIT $limit OFFSET $offset.

Many other extensions might have a same problem,
candidates can be found with:
grep --include=*.php -P 'LIMIT\b[^"'\'']*,' -r .

Bug: 68994
Change-Id: Ie1439673ab825cd8b0c47a63f2cc371ff2569d02

Details

Committed
JjanesAug 2 2014, 1:57 AM
Parents
rEDPLe61d711c1170: Replace deprecated User::editToken call
Branches
Unknown
Tags
Unknown
References
refs/changes/65/151265/1
ChangeId
Ie1439673ab825cd8b0c47a63f2cc371ff2569d02