On Fri, Jan 27, 2012 at 3:09 PM, Marc Delisle marc@infomarc.info wrote:
Hi,
Currently the doc says
$cfg['MaxRows'] integer Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown.
Due to [0] I suggest this:
$cfg['MaxRows'] integer Number of rows displayed when browsing a result set and no LIMIT clause is used. If the result set contains more rows, "Previous" and "Next" links will be shown.
I believe that an explicit LIMIT in the query has priority over MaxRows; this is the current behavior.
As pointed out by Marc in the tracker, since this behavior has been there
for years I guess many people are using the LIMIT clause in place of the navigation panel. So let's keep it the way it is. And yes, the change of documentation is appropriate.