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

block / mysql / 34050651004
84%
master: 85%

Build:
Build:
LAST BUILD BRANCH: codex/readme-fork-table
DEFAULT BRANCH: master
Ran 06 Sep 2026 06:08PM UTC
Jobs 23
Files 21
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

06 Sep 2026 06:06PM UTC coverage: 84.348%. Remained the same
34050651004

Pull #3

github

morgo
Make this a real fork: module path and driver name

The two capabilities this fork carries are reached from strata through
`(*sql.Conn).Raw` and a structural interface assertion, which means a
consumer that builds without the `replace` compiles clean and then fails at
runtime on every statement. `replace` is not inherited across module
boundaries, so any downstream module importing a library built on this fork
silently links upstream instead — and a distinct module path is the only
mechanism Go has for expressing a dependency that is not substitutable.

So: `module github.com/block/mysql`, and the driver registers as
`block-mysql`. The rename is required, not cosmetic — a dependency graph that
still reaches upstream go-sql-driver anywhere links both packages, and two
`sql.Register` calls under one name panic at init.

Edits to upstream files are held to the module path and driver name so that
merging upstream stays mechanical. Three `sql.Open("mysql", ...)` call sites
in driver_test.go move to `driverNameTest` like every other site in the file,
which is what upstream's own `-ldflags` override already assumed.

The README gains a preamble stating what the fork adds, what it changes and
why, the `errors.As` hazard when a binary links both drivers, and how to merge
upstream forward. Auto-TLS and query tracing are deliberately not here: they
change the connect path, which is where upstream churns, and they work as a
wrapper.

Verified: full suite green against MySQL 8.0.44, gofmt and staticcheck clean.
Pull Request #3: Make this a real fork: module path github.com/block/mysql, driver name block-mysql

3492 of 4140 relevant lines covered (84.35%)

1361552.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Linux-Go-1.27-DB-9.7 - 34050651004.1 06 Sep 2026 06:08PM UTC 20
80.92
GitHub Action Run
2 Linux-Go-1.27-DB-8.0 - 34050651004.2 06 Sep 2026 06:08PM UTC 20
81.03
GitHub Action Run
3 Windows-Go-1.27-DB-mariadb-12.3 - 34050651004.3 06 Sep 2026 06:09PM UTC 20
80.83
GitHub Action Run
4 Linux-Go-1.27-DB-mariadb-11.4 - 34050651004.4 06 Sep 2026 06:08PM UTC 20
80.92
GitHub Action Run
5 macOS-Go-1.27-DB-8.4 - 34050651004.5 06 Sep 2026 06:09PM UTC 20
80.86
GitHub Action Run
6 Windows-Go-1.27-DB-9.7 - 34050651004.6 06 Sep 2026 06:10PM UTC 20
80.75
GitHub Action Run
7 Linux-Go-1.27-DB-mariadb-11.8 - 34050651004.7 06 Sep 2026 06:08PM UTC 20
81.2
GitHub Action Run
8 macOS-Go-1.27-DB-9.7 - 34050651004.8 06 Sep 2026 06:08PM UTC 20
81.0
GitHub Action Run
9 macOS-Go-1.27-DB-mariadb-12.3 - 34050651004.9 06 Sep 2026 06:09PM UTC 20
80.89
GitHub Action Run
10 Windows-Go-1.27-DB-8.4 - 34050651004.10 06 Sep 2026 06:10PM UTC 20
80.75
GitHub Action Run
11 macOS-Go-1.27-DB-mariadb-11.4 - 34050651004.11 06 Sep 2026 06:09PM UTC 20
80.89
GitHub Action Run
12 macOS-Go-1.27-DB-mariadb-10.11 - 34050651004.12 06 Sep 2026 06:08PM UTC 20
80.95
GitHub Action Run
13 Linux-Go-1.26-DB-9.7 - 34050651004.13 06 Sep 2026 06:08PM UTC 20
82.35
GitHub Action Run
14 Linux-Go-1.27-DB-mariadb-10.11 - 34050651004.14 06 Sep 2026 06:08PM UTC 20
81.03
GitHub Action Run
15 Linux-Go-1.25-DB-9.7 - 34050651004.15 06 Sep 2026 06:08PM UTC 20
82.35
GitHub Action Run
16 Linux-Go-1.27-DB-8.4 - 34050651004.16 06 Sep 2026 06:08PM UTC 20
81.15
GitHub Action Run
17 Windows-Go-1.27-DB-8.0 - 34050651004.17 06 Sep 2026 06:10PM UTC 20
80.75
GitHub Action Run
18 Windows-Go-1.27-DB-mariadb-11.8 - 34050651004.18 06 Sep 2026 06:09PM UTC 20
80.78
GitHub Action Run
19 Linux-Go-1.27-DB-mariadb-12.3 - 34050651004.19 06 Sep 2026 06:08PM UTC 20
81.2
GitHub Action Run
20 macOS-Go-1.27-DB-mariadb-11.8 - 34050651004.20 06 Sep 2026 06:08PM UTC 20
81.06
GitHub Action Run
21 Windows-Go-1.27-DB-mariadb-10.11 - 34050651004.21 06 Sep 2026 06:09PM UTC 20
80.89
GitHub Action Run
22 macOS-Go-1.27-DB-8.0 - 34050651004.22 06 Sep 2026 06:08PM UTC 20
81.0
GitHub Action Run
23 Windows-Go-1.27-DB-mariadb-11.4 - 34050651004.23 06 Sep 2026 06:09PM UTC 20
80.78
GitHub Action Run
Source Files on build 34050651004
  • Tree
  • List 21
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3
  • PR Base - master (#33764144430)
  • Delete
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