HomePhorge

Fix 20130820.file-mailkey-populate.php for databases in strict mode

Description

Fix 20130820.file-mailkey-populate.php for databases in strict mode

Summary:
Fixes T3803. Turns out my advice was sort of terrible. :/

In strict mode, the INSERT INTO x (y, z) raises an error unless (y, z, ...) includes all columns without default values.

Test Plan: Ran storage upgrade on a strict-mode install. Verified no inserts were performed.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3803

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

Details

Provenance
epriestleyAuthored on Sep 5 2013, 3:58 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP228496cdbe16: File - add transactions and editor
Branches
Unknown
Tags
Unknown

Event Timeline