MCPcopy
hub / github.com/go-sql-driver/mysql / checkStmt

Method checkStmt

benchmark_test.go:44–47  ·  view source on GitHub ↗
(stmt *sql.Stmt, err error)

Source from the content-addressed store, hash-verified

42}
43
44func (tb *TB) checkStmt(stmt *sql.Stmt, err error) *sql.Stmt {
45 tb.check(err)
46 return stmt
47}
48
49func initDB(b *testing.B, compress bool, queries ...string) *sql.DB {
50 tb := (*TB)(b)

Callers 6

benchmarkQueryFunction · 0.80
BenchmarkExecFunction · 0.80
BenchmarkRoundtripBinFunction · 0.80
benchmarkQueryContextFunction · 0.80
benchmarkExecContextFunction · 0.80
BenchmarkReceiveMetadataFunction · 0.80

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected