Page MenuHomePhabricator

Config / setup - check for ONLY_FULL_GROUP_BY and warn the user
ClosedPublic

Authored by btrahan on Nov 15 2014, 2:47 AM.
Tags
None
Referenced Files
F14401968: D10856.diff
Sun, Dec 22, 11:15 PM
Unknown Object (File)
Fri, Dec 20, 3:56 PM
Unknown Object (File)
Thu, Dec 19, 1:45 PM
Unknown Object (File)
Thu, Dec 19, 1:45 PM
Unknown Object (File)
Fri, Dec 13, 6:01 AM
Unknown Object (File)
Sun, Dec 8, 2:46 PM
Unknown Object (File)
Sun, Dec 1, 10:00 AM
Unknown Object (File)
Nov 19 2024, 3:01 PM
Subscribers

Details

Summary

Fixes T6243.

Test Plan

simulated having this on by adding 'ONLY_FULL_GROUP_BY' to the $modes array. verified the error message looked nice

Screen_Shot_2014-11-14_at_6.45.43_PM.png (1×2 px, 596 KB)
.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Config / setup - check for ONLY_FULL_GROUP_BY and warn the user.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.

Note this screenshot is somewhat nonsense due to my test method... The "your sql mode is set to X" bit in particular doesn't reflect real values that would trip this condition.

epriestley edited edge metadata.
This revision is now accepted and ready to land.Nov 15 2014, 2:50 AM
This revision was automatically updated to reflect the committed changes.