phpmyadmin/phpmyadmin — pull request #169 by hisamith (2013-02-17 18:53:13+00:00)
Title:  Fixed #3789 Erroneous LIMIT clause in prettyprinted SQL

$sql_limit_to_append will only get append with the default limit value according to the session , if the limit is not added to the sql query explicitly.