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

go-sql-driver / mysql / 44900970428
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.11.0
DEFAULT BRANCH: master
Ran 21 Nov 2026 11:52AM UTC
Jobs 23
Files 34
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

21 Nov 2026 10:38AM UTC coverage: 87.849% (+0.02%) from 87.831%
44900970428

Pull #1866

github

aibeshkov
Do not size readColumns from the announced column count

readColumns allocated the whole []mysqlField from the column count in the
result set header before reading a single column packet, so memory depended on
a number the server merely announces rather than on what it sends.

Reserve at most 4096 entries up front (a table holds at most 4096 columns, so
ordinary result sets are still sized exactly) and grow beyond that as column
packets are read. Behaviour is unchanged; only result sets wider than 4096
columns now grow incrementally.

Tests: a short read after a very large announced count must fail without a large
allocation (fails without the change), and a result set wider than the
preallocated capacity still decodes completely.

Signed-off-by: Andrei Beshkov <andrey.beshkov@gmail.com>
Pull Request #1866: Do not size readColumns from the announced column count

8 of 8 new or added lines in 1 file covered. (100.0%)

4280 of 4872 relevant lines covered (87.85%)

1196325.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Linux-Go-1.25-DB-9.7 - 44900970428.1 21 Nov 2026 11:52AM UTC 32
86.39
GitHub Action Run
2 Windows-Go-1.27-DB-mariadb-12.3 - 44900970428.2 21 Nov 2026 11:54AM UTC 33
85.04
GitHub Action Run
3 Linux-Go-1.27-DB-8.4 - 44900970428.3 21 Nov 2026 11:54AM UTC 33
85.5
GitHub Action Run
4 Windows-Go-1.27-DB-mariadb-11.4 - 44900970428.4 21 Nov 2026 11:55AM UTC 33
85.09
GitHub Action Run
5 macOS-Go-1.27-DB-8.0 - 44900970428.5 21 Nov 2026 11:59AM UTC 33
85.23
GitHub Action Run
6 Linux-Go-1.27-DB-mariadb-12.3 - 44900970428.6 21 Nov 2026 11:54AM UTC 33
85.4
GitHub Action Run
7 Linux-Go-1.27-DB-mariadb-11.8 - 44900970428.7 21 Nov 2026 11:54AM UTC 33
85.54
GitHub Action Run
8 macOS-Go-1.27-DB-mariadb-11.8 - 44900970428.8 21 Nov 2026 11:55AM UTC 33
85.28
GitHub Action Run
9 Linux-Go-1.27-DB-mariadb-11.4 - 44900970428.9 21 Nov 2026 11:54AM UTC 33
85.54
GitHub Action Run
10 macOS-Go-1.27-DB-8.4 - 44900970428.10 21 Nov 2026 11:55AM UTC 33
85.43
GitHub Action Run
11 Windows-Go-1.27-DB-8.0 - 44900970428.11 21 Nov 2026 11:58AM UTC 33
85.06
GitHub Action Run
12 Linux-Go-1.27-DB-8.0 - 44900970428.12 21 Nov 2026 11:54AM UTC 33
85.5
GitHub Action Run
13 Linux-Go-1.27-DB-mariadb-10.11 - 44900970428.13 21 Nov 2026 11:54AM UTC 33
85.54
GitHub Action Run
14 Windows-Go-1.27-DB-9.7 - 44900970428.14 21 Nov 2026 11:56AM UTC 33
85.11
GitHub Action Run
15 macOS-Go-1.27-DB-9.7 - 44900970428.15 21 Nov 2026 11:59AM UTC 33
85.38
GitHub Action Run
16 Windows-Go-1.27-DB-mariadb-11.8 - 44900970428.16 21 Nov 2026 11:55AM UTC 33
85.04
GitHub Action Run
17 macOS-Go-1.27-DB-mariadb-12.3 - 44900970428.17 21 Nov 2026 11:55AM UTC 33
85.43
GitHub Action Run
18 Windows-Go-1.27-DB-8.4 - 44900970428.18 21 Nov 2026 11:56AM UTC 33
85.11
GitHub Action Run
19 Linux-Go-1.27-DB-9.7 - 44900970428.19 21 Nov 2026 11:54AM UTC 33
85.4
GitHub Action Run
20 Windows-Go-1.27-DB-mariadb-10.11 - 44900970428.20 21 Nov 2026 11:54AM UTC 33
85.09
GitHub Action Run
21 macOS-Go-1.27-DB-mariadb-11.4 - 44900970428.21 21 Nov 2026 11:54AM UTC 33
85.35
GitHub Action Run
22 macOS-Go-1.27-DB-mariadb-10.11 - 44900970428.22 21 Nov 2026 11:55AM UTC 33
85.43
GitHub Action Run
23 Linux-Go-1.26-DB-9.7 - 44900970428.23 21 Nov 2026 11:52AM UTC 32
86.22
GitHub Action Run
Source Files on build 44900970428
  • Tree
  • List 34
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1866
  • PR Base - master (#44782686694)
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