HomePhabricator

Recommend STRICT_ALL_TABLES for every install, not just development installs

Description

Recommend STRICT_ALL_TABLES for every install, not just development installs

Summary:
See D8308. Enabling STRICT_ALL_TABLES prevents this entire class of error, by fataling on truncation instead of truncating. We never want truncation; it is always bad and sometimes extremely bad.

We've recommended this mode for developer installs for a long time, and some users run with it enabled, so it's very unlikely to cause any issues (I've had it enabled locally for at least 6-8 months, I think).

Test Plan:

  • Disabled mode.
  • Saw warning.
  • Enabled mode.
  • No warning.

{F117040}

Reviewers: btrahan, chad

Reviewed By: chad

CC: chad, aran, arice

Differential Revision: https://secure.phabricator.com/D8309

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Feb 23 2014, 7:00 PM
Reviewer
chad
Differential Revision
D8309: Recommend STRICT_ALL_TABLES for every install, not just development installs
Parents
rP7cf0358dda11: Disallow email addresses which will overflow MySQL storage
Branches
Unknown
Tags
Unknown

Event Timeline