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

stephenafamo / scan / 29624104139
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.9.0
DEFAULT BRANCH: main
Ran 18 Jul 2026 01:38AM UTC
Jobs 1
Files 9
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

18 Jul 2026 12:54AM UTC coverage: 89.86% (-0.2%) from 90.016%
29624104139

Pull #10

github

Dima Makushin
fix: close rows in OneFromRows, AllFromRows and CursorFromRows to prevent connection leak

OneFromRows and AllFromRows now use defer rows.Close() to ensure the
underlying rows are always released back to the pool. Previously callers
were responsible for closing, which led to connection leaks when the
caller forgot (e.g. QueryStmt.One in bob never exhausted the result set,
so database/sql could not auto-release the connection).

CursorFromRows now closes rows on its wrapRows error path; on success
the cursor takes ownership.

The higher-level convenience functions One and All previously had their
own defer rows.Close(), which is now redundant and has been removed.
Pull Request #10: fix: close rows in OneFromRows, AllFromRows and CursorFromRows to pre…

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

576 of 641 relevant lines covered (89.86%)

42.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
77.88
-0.96% exec.go
Jobs
ID Job ID Ran Files Coverage
1 29624104139.1 18 Jul 2026 01:38AM UTC 9
89.86
GitHub Action Run
Source Files on build 29624104139
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #10
  • PR Base - main (#28979968442)
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