Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
update interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Braithwaite committed Feb 11, 2021
1 parent b1edbb8 commit 860c275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/column/tuple.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Tuple struct {
columns []Column
}

func (tuple *Tuple) Read(decoder *binary.Decoder) (interface{}, error) {
func (tuple *Tuple) Read(decoder *binary.Decoder, isNull bool) (interface{}, error) {
return nil, fmt.Errorf("do not use Read method for Tuple(T) column")
}

Expand Down Expand Up @@ -53,7 +53,7 @@ func (tuple *Tuple) ReadTuple(decoder *binary.Decoder, rows int) (_ []interface{

default:
for i := 0; i < rows; i++ {
value, err := c.Read(decoder)
value, err := c.Read(decoder, false)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 860c275

Please sign in to comment.