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 ONLY_FULL_GROUP_BY #80 #406

Closed
wants to merge 1 commit into from
Closed

Fix ONLY_FULL_GROUP_BY #80 #406

wants to merge 1 commit into from

Conversation

Grotax
Copy link
Member

@Grotax Grotax commented Mar 7, 2019

I'm not really sure about this.
But it seems to work.
I didn't get my local mysql to enforce ONLY_FULL_GROUP_BY.
This might affect the speed of the query. I didn't find another way yet.
I will do some cleanup/rebase on the commits and travis file later.

Copy link
Contributor

@SMillerDev SMillerDev left a comment

Choose a reason for hiding this comment

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

You disabled some travis settings but to merge this those need to remain.

.travis.yml Outdated Show resolved Hide resolved
.travis.yml Outdated
@@ -41,6 +41,8 @@ before_script:
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'CREATE DATABASE oc_autotest;'; fi
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY 'oc_autotest';"; fi
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "GRANT ALL ON oc_autotest.* TO 'oc_autotest'@'localhost';"; fi
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "SET GLOBAL sql_mode = 'ONLY_FULL_GROUP_BY';"; fi
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make this an extra test? Maybe also one with STRICT_MODE?

@Grotax Grotax force-pushed the only_full_group_by branch 3 times, most recently from 4693972 to d5f5c7c Compare March 7, 2019 16:45
Switch to xenial.
Set sql_mode to `STRICT_ALL_TABLES, ONLY_FULL_GROUP_BY`
@stale
Copy link

stale bot commented Apr 4, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Apr 4, 2019
@stale stale bot closed this Apr 11, 2019
Talon24 added a commit to Talon24/news that referenced this pull request Mar 1, 2020
Grotax pushed a commit that referenced this pull request Mar 1, 2020
* Group by moved to subquery, get feed details from outer query (see #406)

Signed-off-by: Talon <talontalon24@gmail.com>
@Grotax Grotax mentioned this pull request Mar 12, 2020
Grotax added a commit that referenced this pull request Mar 18, 2020
Changed
- Basic Media-RSS support (#599)
- Database index improvements (#637)

Fixed
- Call to a member function getUrlHash() on null" when adding a feed (#640)
- Don't install symfony/console via composer (#636)
- Fix for for ONLY_FULL_GROUP_BY (see #406) (Issue #80) (#407)
- Catch invalid feeds (#646)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
@Grotax Grotax deleted the only_full_group_by branch April 25, 2020 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants