Page MenuHomePhabricator

Update MySQL schema inspection code for deprecation of integer display widths

Authored by epriestley on Mon, May 18, 7:09 PM.



Fixes T13536. See that task for discussion.

Older versions of MySQL (roughly, prior to 8.0.19) emit "int(10)" types. Newer versions emit "int" types. Accept these as equivalent.

Test Plan

Ran bin/storage upgrade --force against MySQL 8.0.11 and 8.0.20. Got clean adjustment lists on both versions.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Mon, May 18, 7:09 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mon, May 18, 7:10 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.