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

go-sql-driver / mysql / 6549081013
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 17 Oct 2023 03:02PM UTC
Jobs 30
Files 19
Run time 4s
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

16 Oct 2023 09:58PM UTC coverage: 82.618% (+0.005%) from 82.613%
6549081013

Pull #1499

github

dolmen
Allow to change (or disable) the default driver name for registration

A link variable now allows to change or disable the name of the driver
that is automatically registered with database/sql:

Change driver name:
    go build "-ldflags=-X github.com/go-sql-driver/mysql.driverName=custom"

Disable driver registration (set driverName to empty string):
    go build "-ldflags=-X github.com/go-sql-driver/mysql.driverName="

In the same way, a variable overridable at link time is also provided to
override the driver name used in the test suite. This allows to run our
test suite on another driver.

    go test "-ldflags=-X github.com/go-sql-driver/mysql.driverNameTest=custom"

driverName is propagated to driverNameTest unless driverNameTest is
explicitely defined.
Pull Request #1499: Allow to change (or disable) the default driver name for registration

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

3061 of 3705 relevant lines covered (82.62%)

1324438.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macOS-Go-1.21-DB-mariadb-10.4 - 6549081013.1 17 Oct 2023 03:04PM UTC 0
82.29
GitHub Action Run
2 Linux-Go-1.20-DB-8.1 - 6549081013.2 17 Oct 2023 03:02PM UTC 0
82.38
GitHub Action Run
3 macOS-Go-1.21-DB-mariadb-10.5 - 6549081013.3 17 Oct 2023 03:04PM UTC 0
82.24
GitHub Action Run
4 macOS-Go-1.21-DB-mariadb-10.3 - 6549081013.4 17 Oct 2023 03:05PM UTC 0
82.24
GitHub Action Run
5 Linux-Go-1.21-DB-mariadb-10.11 - 6549081013.5 17 Oct 2023 03:04PM UTC 0
82.35
GitHub Action Run
6 Linux-Go-1.21-DB-mariadb-10.5 - 6549081013.6 17 Oct 2023 03:03PM UTC 0
82.35
GitHub Action Run
7 macOS-Go-1.21-DB-5.7 - 6549081013.7 17 Oct 2023 03:02PM UTC 0
82.29
GitHub Action Run
8 Linux-Go-1.21-DB-5.6 - 6549081013.8 17 Oct 2023 03:02PM UTC 0
82.35
GitHub Action Run
9 Linux-Go-1.21-DB-5.7 - 6549081013.9 17 Oct 2023 03:02PM UTC 0
82.35
GitHub Action Run
10 Linux-Go-1.21-DB-mariadb-10.3 - 6549081013.10 17 Oct 2023 03:03PM UTC 0
82.27
GitHub Action Run
11 Windows-Go-1.21-DB-mariadb-10.4 - 6549081013.11 17 Oct 2023 03:06PM UTC 0
82.17
GitHub Action Run
12 Linux-Go-1.19-DB-8.1 - 6549081013.12 17 Oct 2023 03:02PM UTC 0
82.38
GitHub Action Run
13 macOS-Go-1.21-DB-5.6 - 6549081013.13 17 Oct 2023 03:03PM UTC 0
82.24
GitHub Action Run
14 Linux-Go-1.21-DB-mariadb-10.4 - 6549081013.14 17 Oct 2023 03:03PM UTC 0
82.32
GitHub Action Run
15 Linux-Go-1.18-DB-8.1 - 6549081013.15 17 Oct 2023 03:02PM UTC 0
82.44
GitHub Action Run
16 macOS-Go-1.21-DB-8.0 - 6549081013.16 17 Oct 2023 03:02PM UTC 0
82.27
GitHub Action Run
17 Linux-Go-1.21-DB-8.0 - 6549081013.17 17 Oct 2023 03:02PM UTC 0
82.38
GitHub Action Run
18 Linux-Go-1.21-DB-mariadb-10.6 - 6549081013.18 17 Oct 2023 03:03PM UTC 0
82.35
GitHub Action Run
19 macOS-Go-1.21-DB-mariadb-10.11 - 6549081013.19 17 Oct 2023 03:04PM UTC 0
82.24
GitHub Action Run
20 Windows-Go-1.21-DB-8.0 - 6549081013.20 17 Oct 2023 03:05PM UTC 0
82.17
GitHub Action Run
21 Windows-Go-1.21-DB-5.7 - 6549081013.21 17 Oct 2023 03:06PM UTC 0
82.17
GitHub Action Run
22 macOS-Go-1.21-DB-8.1 - 6549081013.22 17 Oct 2023 03:02PM UTC 0
82.27
GitHub Action Run
23 macOS-Go-1.21-DB-mariadb-10.6 - 6549081013.23 17 Oct 2023 03:02PM UTC 0
82.24
GitHub Action Run
24 Linux-Go-1.21-DB-8.1 - 6549081013.24 17 Oct 2023 03:03PM UTC 0
82.29
GitHub Action Run
25 Windows-Go-1.21-DB-8.1 - 6549081013.25 17 Oct 2023 03:06PM UTC 0
82.17
GitHub Action Run
26 Windows-Go-1.21-DB-5.6 - 6549081013.26 17 Oct 2023 03:06PM UTC 0
82.17
GitHub Action Run
27 Windows-Go-1.21-DB-mariadb-10.5 - 6549081013.27 17 Oct 2023 03:06PM UTC 0
82.17
GitHub Action Run
28 Windows-Go-1.21-DB-mariadb-10.6 - 6549081013.28 17 Oct 2023 03:05PM UTC 0
82.15
GitHub Action Run
29 Windows-Go-1.21-DB-mariadb-10.11 - 6549081013.29 17 Oct 2023 03:07PM UTC 0
82.09
GitHub Action Run
30 Windows-Go-1.21-DB-mariadb-10.3 - 6549081013.30 17 Oct 2023 03:06PM UTC 0
82.23
GitHub Action Run
Source Files on build 6549081013
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #1499
  • PR Base - master (#6466932971)
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

© 2026 Coveralls, Inc