Sebastian Mendel a écrit :
Hi,
if you browse a table, (or any other SELECT ...?) PMA always adds the LIMIT
but why is this done at least twice?
first it is done in sql.php
but the function PMA_displayMessager() is called without the added LIMIT and now this function adds the LIMIT again!
what was the reason not doing this once and give PMA_displayMessage() the query with the already added LIMIT?
Hi Sebastian,
in PMA_showMessage() there is a comment:
// Here we append the LIMIT added for navigation, to // enable its display. Adding it higher in the code // to $sql_query would create a problem when // using the Refresh or Edit links.