• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-sql-driver / mysql / 41033624084
86%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2026 09:30AM UTC
Jobs 22
Files 31
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Oct 2026 09:27AM UTC coverage: 85.917% (+0.1%) from 85.78%
41033624084

push

github

web-flow
packets: fix inverted unknown collation check (#1832)

The handshake carries a one-byte collation ID, so the `collations` map
only holds IDs below 256. With `charset` set, the collation is applied
after auth by `SET NAMES <charset> COLLATE <collation>`, so newer
collations work there (see #1665). Since #1604, the handshake returns
`unknown collation` only when a charset is set, the opposite of the
comment on that branch. So the #1603 DSN
`charset=utf8mb4&collation=utf8mb4_0900_as_ci` and `Charset("utf8mb4",
"utf8mb4_0900_bin")` still fail with `unknown collation`, while
`collation=utf8mb4_0900_as_ci` alone connects and silently uses
utf8mb4_general_ci.

This flips the condition. With a charset, an unknown collation now sends
the default ID and `SET NAMES` sets the real one. Without a charset, an
unknown collation fails at connect again, as in v1.8.1. For example,
`collation=utf8mb4_uca1400_ai_ci` without `charset` on MariaDB 11 will
now fail; adding `charset=utf8mb4` fixes it. If you'd rather keep
collation-only lenient, I can drop the error branch instead so only
#1603 is fixed.

3 of 3 new or added lines in 1 file covered. (100.0%)

3929 of 4573 relevant lines covered (85.92%)

1180915.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Linux-Go-1.27-DB-8.4 - 41033624084.1 30 Oct 2026 09:32AM UTC 30
83.01
GitHub Action Run
2 Windows-Go-1.27-DB-8.4 - 41033624084.2 30 Oct 2026 09:34AM UTC 30
82.74
GitHub Action Run
3 Windows-Go-1.27-DB-mariadb-11.8 - 41033624084.3 30 Oct 2026 09:33AM UTC 30
82.74
GitHub Action Run
4 Windows-Go-1.27-DB-9.7 - 41033624084.4 30 Oct 2026 09:35AM UTC 30
82.74
GitHub Action Run
5 Linux-Go-1.27-DB-mariadb-10.11 - 41033624084.5 30 Oct 2026 09:32AM UTC 30
83.16
GitHub Action Run
6 macOS-Go-1.27-DB-mariadb-11.4 - 41033624084.6 30 Oct 2026 09:33AM UTC 30
82.71
GitHub Action Run
7 Windows-Go-1.27-DB-mariadb-10.11 - 41033624084.7 30 Oct 2026 09:35AM UTC 30
82.62
GitHub Action Run
8 macOS-Go-1.27-DB-9.7 - 41033624084.8 30 Oct 2026 09:38AM UTC 30
82.83
GitHub Action Run
9 macOS-Go-1.27-DB-8.4 - 41033624084.9 30 Oct 2026 09:33AM UTC 30
82.89
GitHub Action Run
10 macOS-Go-1.27-DB-8.0 - 41033624084.10 30 Oct 2026 09:33AM UTC 30
82.83
GitHub Action Run
11 Windows-Go-1.27-DB-mariadb-12.3 - 41033624084.11 30 Oct 2026 09:33AM UTC 30
82.95
GitHub Action Run
12 macOS-Go-1.27-DB-mariadb-12.3 - 41033624084.12 30 Oct 2026 09:37AM UTC 30
82.76
GitHub Action Run
13 Windows-Go-1.27-DB-mariadb-11.4 - 41033624084.13 30 Oct 2026 09:33AM UTC 30
82.79
GitHub Action Run
14 Linux-Go-1.25-DB-9.7 - 41033624084.14 30 Oct 2026 09:30AM UTC 29
83.93
GitHub Action Run
15 Linux-Go-1.27-DB-9.7 - 41033624084.15 30 Oct 2026 09:32AM UTC 30
82.78
GitHub Action Run
16 Linux-Go-1.27-DB-mariadb-11.8 - 41033624084.16 30 Oct 2026 09:32AM UTC 30
82.99
GitHub Action Run
17 Linux-Go-1.27-DB-8.0 - 41033624084.17 30 Oct 2026 09:32AM UTC 30
82.73
GitHub Action Run
18 Linux-Go-1.26-DB-9.7 - 41033624084.18 30 Oct 2026 09:30AM UTC 29
83.87
GitHub Action Run
19 macOS-Go-1.27-DB-mariadb-10.11 - 41033624084.19 30 Oct 2026 09:33AM UTC 30
82.99
GitHub Action Run
20 Linux-Go-1.27-DB-mariadb-12.3 - 41033624084.20 30 Oct 2026 09:32AM UTC 30
82.99
GitHub Action Run
21 macOS-Go-1.27-DB-mariadb-11.8 - 41033624084.21 30 Oct 2026 09:32AM UTC 30
82.89
GitHub Action Run
22 Linux-Go-1.27-DB-mariadb-11.4 - 41033624084.22 30 Oct 2026 09:32AM UTC 30
83.11
GitHub Action Run
Source Files on build 41033624084
  • Tree
  • List 31
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d01565b4 on github
  • Prev Build on master (#41021539964)
  • Next Build on master (#42284616802)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc