We have often run into issues, especially when upgrading old code, but also with new code (e.g. tractorcow/fluent), where the mysql errors because group by / distinct does not follow strict sql rules (ONLY_FULL_GROUP_BY mode) introduced in mysql 5.7
I have now created a micro module to fix this:
Is this dangerous / legit?
Is there anything that may cause troubles using this module (apart from the code not being standard SQL - which I dont really care about since we always run mysql anyway - and because the module is for mysql)?