handle MySQL sql dialect, i.e., LIMIT
[bug fix] incorrectly parsing parameterized values caused by grammar update