Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#54669 new enhancement

Remove ONLY_FULL_GROUP_BY from incompatible wpdb modes

Reported by: malthert's profile malthert Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.9
Component: Database Keywords: needs-patch needs-unit-tests
Focuses: Cc:


as GROUP BY is non-deterministic otherwise, ONLY_FULL_GROUP_BY ensures this is not the case.
which is why this is enabled by default since MySQL 8

I guess it was disabled originally, as some queries would have to be updated in WP core.

I think however, this should be done now, as otherwise we're accumulating more and more technical debt.

Change History (3)

#1 @johnbillion
3 years ago

  • Keywords needs-patch needs-unit-tests added
  • Type changed from defect (bug) to enhancement
  • Version trunk deleted

#2 @SergeyBiryukov
3 years ago

  • Version set to 3.9

Thanks for the ticket!

Introduced in [27072] / #26847, see comment:2:ticket:26847 for context.

Related: #44586, #48280, #48377, #49344

This ticket was mentioned in Slack in #core by abhanonstopnews. View the logs.

2 years ago

Note: See TracTickets for help on using tickets.