Skip to content

Commit

Permalink
another test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Jan 4, 2025
1 parent 6cd53ca commit d7c1be3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions go/libraries/doltcore/sqle/index/prolly_row.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ func (r *ProllyRow) GetType(i int) {
}

func (r *ProllyRow) Values() []interface{} {
if r == nil {
return nil
}
for i := range r.ords {
if !r.decoded.Contains(i+1) && !r.dirty.Contains(i+1) {
r.decode(context.Background(), i)
Expand Down
2 changes: 1 addition & 1 deletion go/libraries/doltcore/table/table_iterator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func testIterator(t *testing.T, iter RowIter, expected []sql.Row) {
for _, eR := range expected {
r, err := iter.Next(ctx)
require.NoError(t, err)
assert.Equal(t, eR, r)
assert.Equal(t, eR, sql.RowsToUntyped([]sql.Row{r})[0])
}
_, err := iter.Next(ctx)
require.Equal(t, io.EOF, err)
Expand Down

0 comments on commit d7c1be3

Please sign in to comment.