Problem/Motivation
When tampering with the page parameter for a view and setting it to a huge size, a mysql error occurs:
Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-6446744073709551616' at line 3: SELECT ...
e.g. http://example.com/myview?page=1e18
Proposed resolution
Add an integer limit on the LIMIT parameter.