Skip to content

Commit 65b2d13

Browse files
authored
feat: drop MySQL 4.1/5.0/5.1 support, add 8.4/9.x to supported versions (#19)
These ancient MySQL versions (15+ years old) are no longer tested or maintained. Removes 5.1 tarball entries and updates supported version lists and test defaults to focus on 5.5+ and include modern 8.4/9.x.
1 parent 0e12eca commit 65b2d13

File tree

3 files changed

+4
-40
lines changed

3 files changed

+4
-40
lines changed

downloads/tarball_list.json

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,6 @@
9898
"short_version": "5.5",
9999
"version": "5.5.53"
100100
},
101-
{
102-
"name": "mysql-5.1.73-osx10.6-x86_64.tar.gz",
103-
"checksum": "SHA512:9e21642d009ac736607d38b3b4dd0b566db39995dbcf1515cd73026c5362419dcf7d085407c3f89aab59bbf740e383cf6a257517ec00653ecd7382f3166bca38",
104-
"OS": "Darwin",
105-
"arch": "amd64",
106-
"url": "https://downloads.mysql.com/archives/get/p/23/file/mysql-5.1.73-osx10.6-x86_64.tar.gz",
107-
"flavor": "mysql",
108-
"minimal": false,
109-
"size": 81598665,
110-
"short_version": "5.1",
111-
"version": "5.1.73"
112-
},
113101
{
114102
"name": "mysql-5.0.96-osx10.5-x86_64.tar.gz",
115103
"checksum": "SHA512:a5f3959732fe8b4a9cb3b41d7c2f7d869cae38ffc844989b7c98cdbf7496e6d65ea1794819d2a6aea8dd13340252a8c553dcdfbc904415ecd13adb493aa5ae68",
@@ -278,18 +266,6 @@
278266
"short_version": "5.5",
279267
"version": "5.5.61"
280268
},
281-
{
282-
"name": "mysql-5.1.73-linux-x86_64-glibc23.tar.gz",
283-
"checksum": "SHA512:045cc42a1078aae77d2ba9d9e35d69df79feb33de3dc112095e669d5b298ac24ba963ac071ab7a0d3cbe917c68624c184e4d7c69c76dbf43c4df32cb2e4da1b2",
284-
"OS": "Linux",
285-
"arch": "amd64",
286-
"url": "https://downloads.mysql.com/archives/get/p/23/file/mysql-5.1.73-linux-x86_64-glibc23.tar.gz",
287-
"flavor": "mysql",
288-
"minimal": false,
289-
"size": 133630298,
290-
"short_version": "5.1",
291-
"version": "5.1.73"
292-
},
293269
{
294270
"name": "mysql-5.0.96.tar.xz",
295271
"checksum": "SHA512:c39621e43778cc971dc979a065b283864edcb15eb3aced59b5a596dbb56936a6f78feb141d5fb1e0213f130092cff1d93613c0b2beee8b8531796a745ad2bf4b",
@@ -302,18 +278,6 @@
302278
"short_version": "5.0",
303279
"version": "5.0.96"
304280
},
305-
{
306-
"name": "mysql-5.1.72.tar.xz",
307-
"checksum": "SHA512:6fc8ad76a831fc22f9b7bffed8fb4eb4575a122cebca8f5bab52dbe6454372b2f5681eb125141c2b1b5c547496e8d96686c83bdf3c4fdc390bd3614cd1060b9c",
308-
"OS": "Linux",
309-
"arch": "amd64",
310-
"url": "https://github.com/datacharmer/mysql-docker-minimal/master/dbdata/mysql-5.1.72.tar.xz",
311-
"flavor": "mysql",
312-
"minimal": true,
313-
"size": 10390324,
314-
"short_version": "5.1",
315-
"version": "5.1.72"
316-
},
317281
{
318282
"name": "mysql-5.5.61.tar.xz",
319283
"checksum": "SHA512:0cc441cc1f9ddc35cc8783aeeee3ac319d95f3aec184703a2c9197577e23899c4e102010bcc1e60809c0d780ccec8d78e387f6afecb46ad009d9a94b20e9ebe6",

globals/globals.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,10 @@ var (
498498
"sleep", "stat", "tail", "test", "[", "touch", "tr", "wc"}
499499

500500
SupportedMySQLVersions = []string{
501-
"4.1", "5.0", "5.1", "5.5", "5.6", "5.7", "8.0",
501+
"5.5", "5.6", "5.7", "8.0", "8.4", "9.0", "9.1", "9.2",
502502
}
503503
SupportedAllVersions = []string{
504-
"4.1", "5.0", "5.1", "5.5", "5.6", "5.7", "8.0",
504+
"5.5", "5.6", "5.7", "8.0", "8.4", "9.0", "9.1", "9.2",
505505
"10.0", "10.1", "10.2", "10.3", "10.4", "10.5",
506506
}
507507
// Extra executables needed for PXC

ts/setup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ func preliminaryChecks() {
116116
os.Exit(1)
117117
}
118118

119-
shortVersions := []string{"4.1", "5.0", "5.1", "5.5", "5.6", "5.7", "8.0"}
119+
shortVersions := []string{"5.5", "5.6", "5.7", "8.0", "8.4", "9.0"}
120120
if os.Getenv("GITHUB_ACTIONS") != "" {
121-
shortVersions = []string{"5.6", "5.7", "8.0"}
121+
shortVersions = []string{"5.7", "8.0", "8.4"}
122122
}
123123
customShortVersions := os.Getenv("TEST_SHORT_VERSIONS")
124124
if customShortVersions != "" {

0 commit comments

Comments
 (0)