[Bug][Vectorized] fix core dump with HLL and some refactor of Decompressor (#8668)

This commit is contained in:
Pxl
2022-03-31 17:05:08 +08:00
committed by GitHub
parent e684ffa6f5
commit 01cc0573aa
16 changed files with 102 additions and 43 deletions

View File

@ -55,8 +55,6 @@ Status Decompressor::create_decompressor(CompressType type, Decompressor** decom
return st;
}
Decompressor::~Decompressor() {}
std::string Decompressor::debug_info() {
return "Decompressor";
}
@ -71,7 +69,7 @@ GzipDecompressor::~GzipDecompressor() {
}
Status GzipDecompressor::init() {
_z_strm = {0};
_z_strm = {nullptr};
_z_strm.zalloc = Z_NULL;
_z_strm.zfree = Z_NULL;
_z_strm.opaque = Z_NULL;