pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Dwrite/ClickHouse/commit/95923e21cb401fe11ce2d60a106815803e2c7b50

c69660fa.css" /> Update src/Compression/CompressionCodecSZ3.cpp · Dwrite/ClickHouse@95923e2 · GitHub
Skip to content

Commit 95923e2

Browse files
Update src/Compression/CompressionCodecSZ3.cpp
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
1 parent 35d271c commit 95923e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Compression/CompressionCodecSZ3.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ void CompressionCodecSZ3::setAndCheckVectorDimension(size_t dimension_)
198198

199199
void CompressionCodecSZ3::doDecompressData(const char * source, UInt32 source_size, char * dest, UInt32 /*uncompressed_size*/) const
200200
{
201+
/// Hardcoded, because it is not declared (we just calculated the minimal size of decompressed config) and it is less than sizeof(SZ3::Config).
201202
static constexpr const size_t config_size = 39;
202203
if (source_size < 1 + config_size)
203204
throw Exception(ErrorCodes::CORRUPTED_DATA, "Can not decompress data {} that is less than minimal size of compressed", source_size);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy