When you process a SELECT
through phpmyadmin, behind the scenes, it will sometimes add a LIMIT 0,30
, and/or it'll throw a SQL_CALC_FOUND_ROWS
into the SELECT
so it can tell me how many results there would have been without the LIMIT
.
Unfortunately, adding the SQL_CALC_FOUND_ROWS
sometimes requires much more processing than I was expecting (i.e. more than if I had ran my original untainted query).
Is there a global config option to disable phpmyadmin's modification(s) of my queries?
What tricks can I use on a per-query basis to prevent phpmyadmin's modification(s)?