Fix style

This commit is contained in:
Kruglov Pavel 2023-03-17 19:35:20 +01:00 committed by GitHub
parent c376712007
commit d72bf0af71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -995,7 +995,7 @@ fileSegmentationEngineBSONEachRow(ReadBuffer & in, DB::Memory<> & memory, size_t
{
BSONSizeT document_size;
readBinary(document_size, in);
if (document_size < sizeof(document_size))
throw ParsingException(ErrorCodes::INCORRECT_DATA, "Size of BSON document is invalid");