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

block / mysql / 30870040810 / 31
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: unified-query
DEFAULT BRANCH: master
Ran 04 Aug 2026 01:57AM UTC
Files 19
Run time 1s
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

04 Aug 2026 01:02AM UTC coverage: 82.017%. First build
30870040810.31

Pull #1

github

morgo
conn: reject named params and fix scan types on the unified path

Two divergences from the normal query path, both found in review.

QueryResultContext accepted driver.NamedValue with Name set and bound
it positionally. QueryContext and ExecContext route args through
namedValueToValue, which rejects named parameters outright; the unified
path skipped that and went straight to CheckNamedValue. Under an
InterpolateParams DSN a caller passing sql.Named would have silently
got a positional bind. Reuse namedValueToValue for the rejection, then
apply CheckNamedValue to the extracted values -- Raw still bypasses
database/sql's conversion, so that part is still needed here.

ColumnTypeScanType reported the parsed Go type (int32, sql.NullTime,
...) while raw rows deliver every non-NULL cell as []byte, so a caller
asserting driver.RowsColumnTypeScanType was told the wrong thing about
what Next yields. Report scanTypeBytes when raw is set. The other
ColumnType methods describe the column rather than the delivered value
and stay as they are.

Both are covered in TestQueryResultContext and fail without the fix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #1: conn: add unified QueryResultContext for arbitrary SQL

3416 of 4165 relevant lines covered (82.02%)

79171.94 hits per line

Source Files on job Linux-Go-1.26-DB-mariadb-11.8 - 30870040810.31
  • Tree
  • List 19
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30870040810
  • a6fc34fc on github
  • 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