• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

block / mysql / 34057393127
84%
master: 85%

Build:
Build:
LAST BUILD BRANCH: feat/always-reject-read-only
DEFAULT BRANCH: master
Ran 06 Sep 2026 08:16PM UTC
Jobs 5
Files 20
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 08:14PM UTC coverage: 84.439% (-0.2%) from 84.661%
34057393127

Pull #3

github

morgo
Address review: pin the fork's identity, finish the README repointing

Four items from the review on #3:

1. "Linking both drivers" documented the errors.As type-identity hazard but not
   the one that mirrors this PR's own thesis: with both drivers linked, a call
   site still saying sql.Open("mysql", ...) resolves to upstream and keeps
   working, until something reaches for QueryResultContext or Warnings()
   through (*sql.Conn).Raw. Everything else in the both-linked surface fails
   loudly (the registries are package-level globals and name the cause on use),
   so the one silent case is worth naming.

2. Nothing pinned the two lines this PR consists of. Both mutations — the
   driver name back to "mysql", the module path back to upstream's — build
   clean and pass the full suite, and they are exactly the two places every
   `git merge upstream/master` has a conflict to resolve. fork_test.go asserts
   both: debug.ReadBuildInfo().Main.Path reads the real go.mod rather than a
   copy, and sql.Drivers() reads what init actually registered. Verified it
   kills both mutations.

3. The LOAD DATA LOCAL INFILE section still had `import
   "github.com/go-sql-driver/mysql"` — the one copy-pasteable import left on
   the old path, in the section whose premise is needing the package directly.
   Following it registers a local file in upstream's fileRegister while
   connections come from block-mysql. Its godoc link now points at the fork,
   which documents the fork's additions too; the remaining upstream links are
   provenance and stay.

4. "5 CI jobs rather than 25" was wrong. Ran the workflow's matrix generator at
   both revisions: 21 base combinations + 2 appended include entries = 23 test
   jobs before, 3 + 2 = 5 after.
Pull Request #3: Make this a real fork: module path github.com/block/mysql, driver name block-mysql

3538 of 4190 relevant lines covered (84.44%)

334367.21 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
86.8
-0.37% packets.go
2
75.18
-1.42% statement.go
1
69.23
-3.85% conncheck.go
1
78.64
-0.17% connection.go
1
90.94
-0.18% utils.go
Jobs
ID Job ID Ran Files Coverage
1 Linux-Go-1.27-DB-9.7 - 34057393127.1 06 Sep 2026 08:16PM UTC 20
81.63
GitHub Action Run
2 Linux-Go-1.25-DB-9.7 - 34057393127.2 06 Sep 2026 08:17PM UTC 20
82.54
GitHub Action Run
3 Linux-Go-1.26-DB-9.7 - 34057393127.3 06 Sep 2026 08:16PM UTC 20
82.63
GitHub Action Run
4 Linux-Go-1.27-DB-8.0 - 34057393127.4 06 Sep 2026 08:17PM UTC 20
81.58
GitHub Action Run
5 Linux-Go-1.27-DB-8.4 - 34057393127.5 06 Sep 2026 08:17PM UTC 20
81.52
GitHub Action Run
Source Files on build 34057393127
  • Tree
  • List 20
  • 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 (#34051735970)
  • 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