Skip to content

Commit 2b22455

Browse files
author
James Cor
committed
aaaa
1 parent 8d2ac20 commit 2b22455

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/handler.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,9 @@ func (h *Handler) resultForValueRowIter(
906906
var res *sqltypes.Result
907907
var bm *sql.ByteBufferManager
908908
maxCaps := make([]int, len(schema))
909+
for i, col := range schema {
910+
maxCaps[i] = getMaxTypeCapacity(ctx, col.Type)
911+
}
909912
eg.Go(func() (err error) {
910913
defer pan2err(&err)
911914
defer close(resChan)

0 commit comments

Comments
 (0)