Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-sql-driver/mysql
/ check
Method
check
benchmark_test.go:28–32 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
26
type
TB testing.B
27
28
func
(tb *TB) check(err error) {
29
if
err != nil {
30
tb.Fatal(err)
31
}
32
}
33
34
func
(tb *TB) checkDB(db *sql.DB, err error) *sql.DB {
35
tb.check(err)
Callers
6
checkDB
Method · 0.95
checkRows
Method · 0.95
checkStmt
Method · 0.95
benchmarkQuery
Function · 0.80
benchmarkQueryContext
Function · 0.80
BenchmarkReceiveMetadata
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected