mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update ProtobufReader.cpp
This commit is contained in:
parent
514851f0f8
commit
93ddb7da89
@ -67,7 +67,7 @@ bool ProtobufReader::SimpleReader::startMessage()
|
||||
if (unlikely(in.eof()))
|
||||
return false;
|
||||
size_t size_of_message = readVarint();
|
||||
if(size_of_message == 0)
|
||||
if (size_of_message == 0)
|
||||
unknownFormat();
|
||||
current_message_end = root_message_end = cursor + size_of_message;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user