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

go-sql-driver / mysql / 6365162301 / 21
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2023 07:38PM UTC
Files 17
Run time 2s
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

30 Sep 2023 07:33PM UTC coverage: 82.165% (+0.2%) from 81.997%
6365162301.21

push

github

web-flow
Close connection on ErrPktSync and ErrPktSyncMul (#1473)

An `ErrPktSync` or `ErrPktSyncMul` error always means that a packet
header has been read, but since the sequence ID was not correct then the
packet payload has not been read. This results in the connection being
left in a broken state, since any future operations will always result
in a "busy buffer" error. Keeping such connections alive leads to them
being repeatedly returned to the pool in this state, which can in turn
result in a large number of failures due to these "busy buffer" errors.

This commit fixes this problem by simply closing the connection before
returning either `ErrPktSync` or `ErrPktSyncMul`. This ensures that the
connection won't be returned to the pool, preventing it from causing any
further errors.

3013 of 3667 relevant lines covered (82.17%)

45681.01 hits per line

Source Files on job Windows-Go-1.21-DB-mariadb-10.6 - 6365162301.21
  • Tree
  • List 17
  • Changed 6
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6365162301
  • 19171b59 on github
  • Prev Job for on master (#6338149977.23)
  • Next Job for on master (#6409985497.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc