MsgPack: Advance index pointer by appropriate amount for zero (as double)
Created by: davecromberge
After changes to mmath serialization, zeroes are encoded as 0.0. This causes issues with the unpacking of the msgpack payload, as the pointer was not being advanced by enough bytes in the case that a zero is encountered.
The following query would not work previously:
SELECT avg('fd4be66f-8703-412e-8ec9-9f230927b629'.'base'.'cpu' BUCKET 'fd', 2s) AS 'A', avg('fd4be66f-8703-412e-8ec9-9f230927b629'.'base'.'cpu' BUCKET 'fd', 2s) AS 'B' LAST 30s
This is because the offset would become corrupted by the time the second series is encountered. JSON serialization is unaffected by these changes.