Skip to content
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

Escape usage of reserved name rank in sortby and groupby statements #14705

Merged
merged 1 commit into from Sep 4, 2019

Conversation

Mark-H
Copy link
Collaborator

@Mark-H Mark-H commented Sep 1, 2019

What does it do?

Escapes the usage of rank on sortby() and groupby() statements.

Why is it needed?

rank is reserved on MySQL 8. See #13894 for more details and #14701 for an earlier merged variation of this for 2.x.

Related issue(s)/PR(s)

Fixes #13894 for 3.x; based roughly on #14701 for 2.x

@Mark-H Mark-H added this to the v3.0.0-alpha milestone Sep 1, 2019
@Mark-H Mark-H added pr/ready-for-merging Pull request reviewed and tested and ready for merging. pr/review-needed Pull request requires review and testing. and removed pr/ready-for-merging Pull request reviewed and tested and ready for merging. labels Sep 1, 2019
@opengeek opengeek merged commit 63911c4 into modxcms:3.x Sep 4, 2019
@Mark-H Mark-H deleted the 3.x-escape-rank branch November 27, 2019 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/review-needed Pull request requires review and testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants