Fix #687, use a more standard syntax for SQL `LIMIT` clauses. #727

Merged
merged 1 commit into from Dec 11, 2012

Conversation

Projects
None yet
2 participants
Contributor

jails commented Dec 11, 2012

Looks like PostgreSQL doesn't support the: LIMIT <skip>, <count> format.

Owner

nateabele commented Dec 11, 2012

What about MySQL?

Contributor

jails commented Dec 11, 2012

MySQL support both syntax, but the doc shows they are all supporting the LIMIT <count> OFFSET <skip> syntax:
http://dev.mysql.com/doc/refman/5.0/en/select.html
http://www.postgresql.org/docs/7.3/static/queries-limit.html
http://sqlite.org/syntaxdiagrams.html#select-stmt

Contributor

jails commented Dec 11, 2012

You Wrong Travis ! It pass !!!

Owner

nateabele commented Dec 11, 2012

Haha.

@nateabele nateabele added a commit that referenced this pull request Dec 11, 2012

@nateabele nateabele Merge pull request #727 from jails/pr58
Fix #687, use a more standard syntax for SQL `LIMIT` clauses.
7a33bc6

@nateabele nateabele merged commit 7a33bc6 into UnionOfRAD:dev Dec 11, 2012

1 check failed

default The Travis build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment