Skip to content

Commit

Permalink
Actually increment the index
Browse files Browse the repository at this point in the history
  • Loading branch information
jamii committed Oct 30, 2023
1 parent 141027f commit aa16b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vector/materializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func (m *Materializer) Read() (*zed.Value, error) {
m.builder.Truncate()
m.materializers[tag](&m.builder)
m.value = *zed.NewValue(typ, m.builder.Bytes().Body())
m.index += 1
return &m.value, nil
}

Expand Down

0 comments on commit aa16b6c

Please sign in to comment.