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

Fix ShippingMethod select for MySQL 5.7 strict #2024

Merged
merged 1 commit into from
Jun 21, 2017

Conversation

jhawthorn
Copy link
Contributor

This was previously failing under MySQL 5.7 because we were grouping by only shipping_methods.id, but selecting shipping_methods.*.

This commit avoids the issue by moving the group by into a subquery.

This was previously failing under MySQL 5.7 because we were grouping by
only shipping_methods.id, but selecting shipping_methods.*.

This commit avoids the issue by moving the group by into a subquery.
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you John!

@gmacdougall gmacdougall merged commit c9774c6 into solidusio:master Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants