[Phpmyadmin-devel] about clarifying MaxRows behavior

Madhura Jayaratne madhura.cj at gmail.com
Fri Jan 27 16:31:02 CET 2012


On Fri, Jan 27, 2012 at 3:09 PM, Marc Delisle <marc at 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.

-- 
Thanks and Regards,

Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120127/2ebbc2c9/attachment.html>


More information about the Developers mailing list