We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c85695 commit 014e34cCopy full SHA for 014e34c
benchmark_test.go
@@ -16,6 +16,7 @@ func BenchmarkRoundtripText(b *testing.B) {
16
if err != nil {
17
b.Fatalf("crashed")
18
}
19
+ defer db.Close()
20
var result string
21
for i := 0; i < b.N; i++ {
22
length := 16 + i%(4*b.N)
@@ -46,6 +47,7 @@ func BenchmarkRoundtripPrepared(b *testing.B) {
46
47
48
49
50
51
52
stmt, err := db.Prepare("SELECT ?")
53
0 commit comments