Page MenuHomePhabricator

Update MySQL schema inspection code for deprecation of integer display widths
ClosedPublic

Authored by epriestley on May 18 2020, 7:09 PM.
Tags
None
Referenced Files
F13169082: D21265.diff
Tue, May 7, 8:10 AM
Unknown Object (File)
Mon, May 6, 3:02 AM
Unknown Object (File)
Fri, May 3, 7:52 AM
Unknown Object (File)
Thu, May 2, 6:25 AM
Unknown Object (File)
Thu, Apr 25, 1:49 AM
Unknown Object (File)
Thu, Apr 25, 12:04 AM
Unknown Object (File)
Tue, Apr 23, 6:51 PM
Unknown Object (File)
Sat, Apr 20, 5:15 PM
Subscribers
None

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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