Cosmetics

This commit is contained in:
Danila Kutenin 2019-04-25 21:35:58 +03:00
parent 5c68881b72
commit 3501f633e4

View File

@ -20,7 +20,6 @@ namespace DB
namespace ErrorCodes
{
extern const int CANNOT_COMPRESS;
extern const int CANNOT_DECOMPRESS;
extern const int ILLEGAL_SYNTAX_FOR_CODEC_TYPE;
extern const int ILLEGAL_CODEC_PARAMETER;
}
@ -48,8 +47,6 @@ UInt32 CompressionCodecLZ4::doCompressData(const char * source, UInt32 source_si
void CompressionCodecLZ4::doDecompressData(const char * source, UInt32 source_size, char * dest, UInt32 uncompressed_size) const
{
// if (LZ4_decompress_safe(source, dest, source_size, uncompressed_size) < 0)
// throw Exception("Cannot LZ4_decompress_fast", ErrorCodes::CANNOT_DECOMPRESS);
LZ4::decompress(source, dest, source_size, uncompressed_size, lz4_stat);
}