[Phpmyadmin-devel] LIMIT clause when browsing
madhura.cj at gmail.com
Thu Jul 9 14:46:42 CEST 2015
On Thu, Jul 9, 2015 at 5:28 PM, Marc Delisle <marc at infomarc.info> wrote:
> Dan Ungureanu was asking me about some dead code, and this made me
> realize that we might have a bug; however I'm not sure whether this was
> intentional or not.
> To see what I mean, use the MAINT_4_0_10 branch and browse a table that
> has many rows: you'll see that the displayed query shows the proper
> generated LIMIT clause, which changes when you click on the Next icon.
> This comes from  which uses a GLOBAL variable set in .
> Starting with 4.1, due to some refactoring, the generated LIMIT clause
> is no longer shown.
> Intentional or not?
> Marc Delisle | phpMyAdmin
Not sure whether it's intentional or not, but it corresponds well with the
message "Showing rows 0 - 24 (98 total...". If we show the LIMIT 0, 25 in
the query "98 total" might look confusing.
Thanks and Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Developers