You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove unused TiDB nextgen version helpers from mysql/const.go (#4)
NormalizeTiDBReleaseVersionForNextGen, BuildTiDBXReleaseVersion, and
BuildTiDBXServerVersion were carried over from the upstream TiDB parser
but are TiDB-server release-packaging concerns rather than parsing
concerns. Inside this repository they were only referenced by their own
tests, so drop the helpers, the tests, and their supporting constants.
The legacyTiDBReleaseVersionPlaceholder constant doubled as the initial
value of the externally visible TiDBReleaseVersion variable, so inline
the placeholder string there.
This drops the github.com/coreos/go-semver dependency, which was used
solely by BuildTiDBXReleaseVersion.
https://claude.ai/code/session_011eUiTSJanyruVRnV5b7fJw
Co-authored-by: Claude <noreply@anthropic.com>
return"", errors.Errorf("invalid TiDB release version %q, the semantic version part should be in [2-digit-year].[month].[fix-version]-[xxx] format", releaseVersion)
0 commit comments