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

MySQL >= 5.7 and MariaDB issues #409

Closed
bonny opened this issue Nov 12, 2023 · 0 comments
Closed

MySQL >= 5.7 and MariaDB issues #409

bonny opened this issue Nov 12, 2023 · 0 comments
Assignees

Comments

@bonny
Copy link
Owner

bonny commented Nov 12, 2023

Some issues arise when using MySQL 5.7 and newer or MariaDB 10.5.

There seems to be related to changes how right join work.
In MySQL 5.5 the group by groups by the latest/highest id of all events with same occasions id, but in more recent DBs the group by uses the lowest id in each occasions id group.

It's probably not ONLY_FULL_GROUP_BY because the queries are not rejected. https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_only_full_group_by

Some threads with possibly related issues:

Related GH issues:

Could we use https://www.db-fiddle.com/ to created small example to easy test with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant