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

Update for compatibility with MySQL 5.7+ #744

Closed
wants to merge 1 commit into from
Closed

Update for compatibility with MySQL 5.7+ #744

wants to merge 1 commit into from

Commits on Jun 28, 2016

  1. Update for compatibility with MySQL 5.7+

    getUniqueResources, getUniqueTags, and getUniqueUsers was failing due to mySQL5.7 compatibility issues. The error being thrown by mySQL was: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
    
    To fix, we have to either turn off the only_full_group_by option or specifically select the columns that are used instead of selecting *.
    
    See: https://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html for more info.
    lmgonzales authored Jun 28, 2016
    Configuration menu
    Copy the full SHA
    752dcab View commit details
    Browse the repository at this point in the history