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 ee7dc63 commit fcae966Copy full SHA for fcae966
sql/types/sql_test.go
@@ -28,7 +28,7 @@ func BenchmarkVarchar10SQL(b *testing.B) {
28
ctx := sql.NewEmptyContext()
29
for i := 0; i < b.N; i++ {
30
res, _ = t.SQL(ctx, buf.Get(), "char")
31
- buf.Advance(res.Len())
+ buf.Update(res.Raw())
32
buf.Reset()
33
}
34
result_ = res
0 commit comments