Skip to content

Commit 56a9431

Browse files
author
James Cor
committed
ok don't do that
1 parent 0df519a commit 56a9431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/byte_buffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type byteBuffer struct {
3030
var bufferPool = sync.Pool{
3131
New: func() any {
3232
return &byteBuffer{
33-
buf: make([]byte, 4096*128*64),
33+
buf: make([]byte, bufCap),
3434
}
3535
},
3636
}

0 commit comments

Comments
 (0)