-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix OFFSET without LIMIT cause MySQL syntax error. #261
Conversation
Hello, thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link: |
@Everus what's the failing test case for this one? |
This is wrong. It does not add the offset anymore when the limit is not null |
I can't see what wrong in it, maybe you can point me in right direction. |
hmm, sorry. However, as this fix is only for MySQL, I think it should be done in the MySQLPlatform only |
Fixed in 3f220a1 |
MySQL OFFSET require LIMIT.
So fixed it to use the biggest limit possible as it recommended in http://dev.mysql.com/doc/refman/5.0/en/select.html#id4651990