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)
Wed, Apr 17, 10:01 PM
Unknown Object (File)
Mar 5 2024, 12:46 PM
Unknown Object (File)
Feb 15 2024, 2:04 PM
Unknown Object (File)
Jan 5 2024, 3:33 AM
Unknown Object (File)
Nov 30 2023, 6:10 AM
Unknown Object (File)
Nov 19 2023, 6:39 AM
Unknown Object (File)
Nov 1 2023, 5:06 PM
Unknown Object (File)
Oct 26 2023, 9:19 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.