mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
Fix
This commit is contained in:
parent
994e01e0ab
commit
7ca8811216
@ -49,6 +49,9 @@ struct NodeBase
|
||||
{
|
||||
writeVarUInt(size, buf);
|
||||
buf.write(data(), size);
|
||||
|
||||
writeBinary(event_time, buf);
|
||||
writeBinary(events_bitset, buf);
|
||||
}
|
||||
|
||||
static Node * read(ReadBuffer & buf, Arena * arena)
|
||||
@ -59,6 +62,10 @@ struct NodeBase
|
||||
Node * node = reinterpret_cast<Node *>(arena->alignedAlloc(sizeof(Node) + size, alignof(Node)));
|
||||
node->size = size;
|
||||
buf.read(node->data(), size);
|
||||
|
||||
readBinary(node->event_time, buf);
|
||||
readBinary(node->events_bitset, buf);
|
||||
|
||||
return node;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user