add compress
This commit is contained in:
parent
40390ad918
commit
1d9b65226e
|
@ -560,7 +560,7 @@ int32_t flushSnapshot(SStreamFileState* pFileState, SStreamSnapshot* pSnapshot,
|
|||
|
||||
int idx = streamStateGetCfIdx(pFileState->pFileStore, pFileState->cfName);
|
||||
|
||||
int32_t len = pFileState->rowSize + sizeof(uint64_t) + sizeof(int32_t) + 1;
|
||||
int32_t len = pFileState->rowSize + sizeof(uint64_t) + sizeof(int32_t) + 64;
|
||||
char* buf = taosMemoryCalloc(1, len);
|
||||
|
||||
void* batch = streamStateCreateBatch();
|
||||
|
|
Loading…
Reference in New Issue