Skip to content

Commit

Permalink
Fix unmarshalUDT obsolete - apache#973 (apache#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlk833 authored and Zariel committed Sep 13, 2017
1 parent 2badfed commit afe4fee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -1968,6 +1968,7 @@ func unmarshalUDT(info TypeInfo, data []byte, value interface{}) error {
if f == emptyValue {
// skip fields which exist in the UDT but not in
// the struct passed in
data = data[size:] // Skip over this data to go to next
continue
}
}
Expand Down

0 comments on commit afe4fee

Please sign in to comment.