2012/1/27 Marc Delisle <marc(a)infomarc.info>fo>:
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.
If this is how it's currently working, then I agree on the proposed
change in the message.
The size of LIMIT could be mentioned, but it is probably redundant :
if it is smaller than MaxRows, it's the same as not specifying a
LIMIT, because the number of rows will be smaller than MaxRows.
If it is bigger, LIMIT is specified.
--
Kind regards,
Dieter Adriaenssens