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
Unknown Object (File)
Thu, Nov 21, 6:47 AM
Unknown Object (File)
Sat, Nov 16, 9:10 PM
Unknown Object (File)
Sat, Nov 9, 4:16 PM
Unknown Object (File)
Sat, Nov 9, 4:16 PM
Unknown Object (File)
Sat, Nov 9, 4:15 PM
Unknown Object (File)
Wed, Nov 6, 12:23 AM
Unknown Object (File)
Sat, Nov 2, 12:10 AM
Unknown Object (File)
Wed, Oct 30, 8:13 AM
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.