mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fix build + typo
This commit is contained in:
parent
08d3f7fa14
commit
6e1d7a31bc
@ -57,7 +57,7 @@ public:
|
||||
|
||||
/// Parses the format schema, then parses the corresponding proto file, and returns the descriptor of the message type.
|
||||
/// The function never returns nullptr, it throws an exception if it cannot load or parse the file.
|
||||
const google::protobuf::Descriptor * getMessageTypeForFormatSchema(const FormatSchemaInfo & info, WithEnvelope withEnvelope);
|
||||
const google::protobuf::Descriptor * getMessageTypeForFormatSchema(const FormatSchemaInfo & info, WithEnvelope with_envelope);
|
||||
|
||||
private:
|
||||
class ImporterWithSourceTree;
|
||||
|
@ -2399,7 +2399,7 @@ namespace
|
||||
};
|
||||
|
||||
/// Serializes a top-level envelope message in the protobuf schema.
|
||||
/// "Envelope" means that the contained subtree of serializers is encosed in a message just once,
|
||||
/// "Envelope" means that the contained subtree of serializers is enclosed in a message just once,
|
||||
/// i.e. only when the first and the last row read/write trigger a read/write of the msg header.
|
||||
class ProtobufSerializerEnvelope : public ProtobufSerializer
|
||||
{
|
||||
@ -2455,7 +2455,7 @@ namespace
|
||||
}
|
||||
|
||||
int field_tag;
|
||||
bool ret = reader->readFieldNumber(field_tag);
|
||||
[[maybe_unused]] bool ret = reader->readFieldNumber(field_tag);
|
||||
assert(ret);
|
||||
|
||||
serializer->readRow(row_num);
|
||||
|
Loading…
Reference in New Issue
Block a user