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

go-sql-driver / mysql / 6365162301
83%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2023 07:35PM UTC
Jobs 29
Files 19
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.718% (+0.2%) from 82.551%
6365162301

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.

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

3068 of 3709 relevant lines covered (82.72%)

1315473.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macOS-Go-1.21-DB-5.6 - 6365162301.1 30 Sep 2023 07:35PM UTC 17
82.34
GitHub Action Run
2 Windows-Go-1.21-DB-5.6 - 6365162301.2 30 Sep 2023 07:36PM UTC 17
82.17
GitHub Action Run
3 Linux-Go-1.18-DB-8.1 - 6365162301.3 30 Sep 2023 07:35PM UTC 18
82.54
GitHub Action Run
4 Linux-Go-1.19-DB-8.1 - 6365162301.4 30 Sep 2023 07:35PM UTC 17
82.48
GitHub Action Run
5 Linux-Go-1.21-DB-mariadb-10.11 - 6365162301.5 30 Sep 2023 07:35PM UTC 17
82.45
GitHub Action Run
6 macOS-Go-1.21-DB-8.1 - 6365162301.6 30 Sep 2023 07:35PM UTC 17
82.37
GitHub Action Run
7 Windows-Go-1.21-DB-mariadb-10.11 - 6365162301.7 30 Sep 2023 07:37PM UTC 17
82.17
GitHub Action Run
8 Windows-Go-1.21-DB-mariadb-10.5 - 6365162301.8 30 Sep 2023 07:38PM UTC 17
82.22
GitHub Action Run
9 Linux-Go-1.20-DB-8.1 - 6365162301.9 30 Sep 2023 07:35PM UTC 17
82.48
GitHub Action Run
10 Linux-Go-1.21-DB-mariadb-10.4 - 6365162301.10 30 Sep 2023 07:35PM UTC 17
82.45
GitHub Action Run
11 Linux-Go-1.21-DB-5.6 - 6365162301.11 30 Sep 2023 07:35PM UTC 17
82.45
GitHub Action Run
12 Linux-Go-1.21-DB-mariadb-10.5 - 6365162301.12 30 Sep 2023 07:35PM UTC 17
82.45
GitHub Action Run
13 macOS-Go-1.21-DB-5.7 - 6365162301.13 30 Sep 2023 07:35PM UTC 17
82.34
GitHub Action Run
14 Linux-Go-1.21-DB-5.7 - 6365162301.14 30 Sep 2023 07:35PM UTC 17
82.45
GitHub Action Run
15 macOS-Go-1.21-DB-mariadb-10.5 - 6365162301.15 30 Sep 2023 07:35PM UTC 17
82.34
GitHub Action Run
16 macOS-Go-1.21-DB-mariadb-10.6 - 6365162301.16 30 Sep 2023 07:36PM UTC 17
82.34
GitHub Action Run
17 Linux-Go-1.21-DB-mariadb-10.3 - 6365162301.17 30 Sep 2023 07:35PM UTC 17
82.45
GitHub Action Run
18 macOS-Go-1.21-DB-mariadb-10.4 - 6365162301.18 30 Sep 2023 07:36PM UTC 17
82.34
GitHub Action Run
19 Windows-Go-1.21-DB-mariadb-10.4 - 6365162301.19 30 Sep 2023 07:38PM UTC 17
82.17
GitHub Action Run
20 Linux-Go-1.21-DB-8.1 - 6365162301.20 30 Sep 2023 07:35PM UTC 17
82.48
GitHub Action Run
21 Windows-Go-1.21-DB-mariadb-10.6 - 6365162301.21 30 Sep 2023 07:38PM UTC 17
82.17
GitHub Action Run
22 macOS-Go-1.21-DB-mariadb-10.11 - 6365162301.22 30 Sep 2023 07:37PM UTC 17
82.34
GitHub Action Run
23 Windows-Go-1.21-DB-mariadb-10.3 - 6365162301.23 30 Sep 2023 07:37PM UTC 17
82.17
GitHub Action Run
24 Windows-Go-1.21-DB-5.7 - 6365162301.24 30 Sep 2023 07:38PM UTC 17
82.22
GitHub Action Run
25 Windows-Go-1.21-DB-8.0 - 6365162301.25 30 Sep 2023 07:37PM UTC 17
82.17
GitHub Action Run
26 Windows-Go-1.21-DB-8.1 - 6365162301.26 30 Sep 2023 07:38PM UTC 17
82.22
GitHub Action Run
27 macOS-Go-1.21-DB-mariadb-10.3 - 6365162301.27 30 Sep 2023 07:38PM UTC 17
82.34
GitHub Action Run
28 Linux-Go-1.21-DB-8.0 - 6365162301.28 30 Sep 2023 07:35PM UTC 17
82.48
GitHub Action Run
29 Linux-Go-1.21-DB-mariadb-10.6 - 6365162301.29 30 Sep 2023 07:35PM UTC 17
82.45
GitHub Action Run
Source Files on build 6365162301
  • Tree
  • List 19
  • Changed 12
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 19171b59 on github
  • Prev Build on master (#6338149977)
  • Next Build on master (#6409985497)
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