MCPcopy
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

26type TB testing.B
27
28func (tb *TB) check(err error) {
29 if err != nil {
30 tb.Fatal(err)
31 }
32}
33
34func (tb *TB) checkDB(db *sql.DB, err error) *sql.DB {
35 tb.check(err)

Callers 6

checkDBMethod · 0.95
checkRowsMethod · 0.95
checkStmtMethod · 0.95
benchmarkQueryFunction · 0.80
benchmarkQueryContextFunction · 0.80
BenchmarkReceiveMetadataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected