Skip to content

Commit 7c431e7

Browse files
author
James Cor
committed
deep copy rows for testing method
1 parent ec765ad commit 7c431e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/rows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func RowIterToRows(ctx *Context, i RowIter) ([]Row, error) {
143143
return nil, err
144144
}
145145

146-
rows = append(rows, row)
146+
rows = append(rows, row.Copy())
147147
}
148148

149149
return rows, i.Close(ctx)

0 commit comments

Comments
 (0)