Skip to content

Commit

Permalink
frame: export UDT fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Kulezi committed Sep 27, 2022
1 parent 741645f commit f97c16b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frame/buffer_read.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ func (b *Buffer) ReadUDTOption() *UDTOption {
return &UDTOption{
Keyspace: ks,
Name: name,
fieldNames: fn,
fieldTypes: ft,
FieldNames: fn,
FieldTypes: ft,
}
}

Expand Down
4 changes: 2 additions & 2 deletions frame/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ type SetOption struct {
type UDTOption struct {
Keyspace string
Name string
fieldNames []string
fieldTypes []Option
FieldNames []string
FieldTypes []Option
}

// https://github.com/apache/cassandra/blob/adcff3f630c0d07d1ba33bf23fcb11a6db1b9af1/doc/native_protocol_v4.spec#L655-L658
Expand Down

0 comments on commit f97c16b

Please sign in to comment.