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

block / mysql / 33120091003
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: warning-count
DEFAULT BRANCH: master
Ran 27 Aug 2026 09:53PM UTC
Jobs 32
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

27 Aug 2026 09:52PM UTC coverage: 82.659% (+0.05%) from 82.606%
33120091003

Pull #2

github

morgo
fix: keep the warning count until the next command

clearResult() was the wrong reset point. It runs at the start of every
statement, but it also runs from (*mysqlRows).Close — after skipRows has
already read the packet that carries the count. A caller that closes a
resultset without draining it (a proxy forwarding rows elsewhere) had the
count zeroed out from under it before it could read it.

Reset in resetSequence() instead: sending a command is what ends the
previous statement's diagnostics, which is the semantic the count is
supposed to follow anyway.

The existing integration coverage missed this because draining to EOF
nils out rows.mc, so Close returns early and never reaches clearResult.
Cover the undrained path too, plus a unit test pinning that clearResult
specifically does not touch the count.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2: conn: expose the OK/EOF packet warning count

34 of 34 new or added lines in 3 files covered. (100.0%)

4 existing lines in 1 file now uncovered.

3451 of 4175 relevant lines covered (82.66%)

2569384.31 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
78.42
-2.88% compress.go
Jobs
ID Job ID Ran Files Coverage
1 Linux-Go-1.26-DB-mariadb-11.4 - 33120091003.1 27 Aug 2026 09:53PM UTC 20
82.36
GitHub Action Run
2 macOS-Go-1.26-DB-mariadb-12.3 - 33120091003.2 27 Aug 2026 09:53PM UTC 20
82.19
GitHub Action Run
3 Linux-Go-1.26-DB-8.0 - 33120091003.3 27 Aug 2026 09:53PM UTC 20
82.29
GitHub Action Run
4 macOS-Go-1.26-DB-9.0 - 33120091003.4 27 Aug 2026 09:53PM UTC 20
82.0
GitHub Action Run
5 macOS-Go-1.26-DB-mariadb-10.6 - 33120091003.5 27 Aug 2026 09:53PM UTC 20
82.24
GitHub Action Run
6 Linux-Go-1.26-DB-8.4 - 33120091003.6 27 Aug 2026 09:53PM UTC 20
82.19
GitHub Action Run
7 Linux-Go-1.26-DB-mariadb-11.8 - 33120091003.7 27 Aug 2026 09:53PM UTC 20
82.36
GitHub Action Run
8 macOS-Go-1.26-DB-8.4 - 33120091003.8 27 Aug 2026 09:54PM UTC 20
82.05
GitHub Action Run
9 Linux-Go-1.25-DB-9.0 - 33120091003.9 27 Aug 2026 09:54PM UTC 20
82.29
GitHub Action Run
10 macOS-Go-1.26-DB-mariadb-11.4 - 33120091003.10 27 Aug 2026 09:53PM UTC 20
82.09
GitHub Action Run
11 Linux-Go-1.24-DB-9.0 - 33120091003.11 27 Aug 2026 09:53PM UTC 20
82.19
GitHub Action Run
12 Linux-Go-1.26-DB-5.7 - 33120091003.12 27 Aug 2026 09:54PM UTC 20
82.14
GitHub Action Run
13 macOS-Go-1.26-DB-mariadb-11.8 - 33120091003.13 27 Aug 2026 09:54PM UTC 20
82.24
GitHub Action Run
14 Windows-Go-1.26-DB-9.0 - 33120091003.14 27 Aug 2026 09:55PM UTC 20
81.96
GitHub Action Run
15 Windows-Go-1.26-DB-mariadb-11.4 - 33120091003.15 27 Aug 2026 09:55PM UTC 20
82.11
GitHub Action Run
16 Linux-Go-1.26-DB-mariadb-10.11 - 33120091003.16 27 Aug 2026 09:53PM UTC 20
82.26
GitHub Action Run
17 Windows-Go-1.26-DB-mariadb-10.5 - 33120091003.17 27 Aug 2026 09:54PM UTC 20
81.91
GitHub Action Run
18 Windows-Go-1.26-DB-8.4 - 33120091003.18 27 Aug 2026 09:55PM UTC 20
82.01
GitHub Action Run
19 macOS-Go-1.26-DB-mariadb-10.11 - 33120091003.19 27 Aug 2026 09:54PM UTC 20
82.19
GitHub Action Run
20 Windows-Go-1.26-DB-mariadb-10.11 - 33120091003.20 27 Aug 2026 09:54PM UTC 20
82.01
GitHub Action Run
21 macOS-Go-1.26-DB-5.7 - 33120091003.21 27 Aug 2026 09:53PM UTC 20
81.93
GitHub Action Run
22 Windows-Go-1.26-DB-mariadb-11.8 - 33120091003.22 27 Aug 2026 09:54PM UTC 20
81.96
GitHub Action Run
23 Linux-Go-1.26-DB-9.0 - 33120091003.23 27 Aug 2026 09:53PM UTC 20
82.29
GitHub Action Run
24 Windows-Go-1.26-DB-mariadb-12.3 - 33120091003.24 27 Aug 2026 09:54PM UTC 20
82.11
GitHub Action Run
25 Windows-Go-1.26-DB-8.0 - 33120091003.25 27 Aug 2026 09:55PM UTC 20
81.96
GitHub Action Run
26 Linux-Go-1.26-DB-mariadb-10.6 - 33120091003.26 27 Aug 2026 09:53PM UTC 20
82.26
GitHub Action Run
27 Windows-Go-1.26-DB-mariadb-10.6 - 33120091003.27 27 Aug 2026 09:54PM UTC 20
82.06
GitHub Action Run
28 macOS-Go-1.26-DB-mariadb-10.5 - 33120091003.28 27 Aug 2026 09:53PM UTC 20
82.14
GitHub Action Run
29 macOS-Go-1.26-DB-8.0 - 33120091003.29 27 Aug 2026 09:54PM UTC 20
81.95
GitHub Action Run
30 Linux-Go-1.26-DB-mariadb-10.5 - 33120091003.30 27 Aug 2026 09:53PM UTC 20
82.26
GitHub Action Run
31 Linux-Go-1.26-DB-mariadb-12.3 - 33120091003.31 27 Aug 2026 09:54PM UTC 20
82.12
GitHub Action Run
32 Windows-Go-1.26-DB-5.7 - 33120091003.32 27 Aug 2026 09:55PM UTC 20
81.84
GitHub Action Run
Source Files on build 33120091003
  • Tree
  • List 21
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2
  • PR Base - master (#33117969512)
  • 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