mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
refine cosmos issue
This commit is contained in:
parent
c1c46b655f
commit
a25de0cc64
@ -180,7 +180,7 @@ private:
|
|||||||
|
|
||||||
UInt32 CompressionCodecQATZSTD::doCompressData(const char * source, UInt32 source_size, char * dest) const
|
UInt32 CompressionCodecQATZSTD::doCompressData(const char * source, UInt32 source_size, char * dest) const
|
||||||
{
|
{
|
||||||
if(!initialized)
|
if (!initialized)
|
||||||
{
|
{
|
||||||
cctx = ZSTD_createCCtx();
|
cctx = ZSTD_createCCtx();
|
||||||
/* Start QAT device, start QAT device at any time before compression job started */
|
/* Start QAT device, start QAT device at any time before compression job started */
|
||||||
@ -241,7 +241,7 @@ CompressionCodecQATZSTD::CompressionCodecQATZSTD(int level_)
|
|||||||
|
|
||||||
CompressionCodecQATZSTD::~CompressionCodecQATZSTD()
|
CompressionCodecQATZSTD::~CompressionCodecQATZSTD()
|
||||||
{
|
{
|
||||||
if(initialized)
|
if (initialized)
|
||||||
{
|
{
|
||||||
/* Free sequence producer state */
|
/* Free sequence producer state */
|
||||||
QZSTD_freeSeqProdState(sequenceProducerState);
|
QZSTD_freeSeqProdState(sequenceProducerState);
|
||||||
|
Loading…
Reference in New Issue
Block a user