vanilla/vanilla — pull request #2242 by lincolnwebs (2014-11-06 23:08:28+00:00)
Title: Use more secure error for invalid pagination ranges

* Disallow limit and offset clauses too large for MySQL.
* Make better use of the Offset method rather than allowing it to be touched directly elsewhere.