Skip to content

Commit

Permalink
Merge pull request #3033 from influxdb/client-marshal-uint64
Browse files Browse the repository at this point in the history
Add support for marshaling `uint64` in client.
  • Loading branch information
toddboom committed Jun 18, 2015
2 parents 4933736 + b625286 commit 67d561f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tsdb/points.go
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,8 @@ func (p Fields) MarshalBinary() []byte {
b = append(b, []byte(strconv.FormatInt(int64(t), 10))...)
case int32:
b = append(b, []byte(strconv.FormatInt(int64(t), 10))...)
case uint64:
b = append(b, []byte(strconv.FormatUint(t, 10))...)
case int64:
b = append(b, []byte(strconv.FormatInt(t, 10))...)
case float64:
Expand Down

0 comments on commit 67d561f

Please sign in to comment.