phpmyadmin/phpmyadmin — pull request #162 by hisamith (2013-02-11 17:11:30+00:00)
Title: Fixed #3789 Erroneous LIMIT clause in prettyprinted SQL. 

Moved the default sql limit append such that it will only get append, if the limit is not added to the sql query explicitly.