refactor(query): opt perf by remove some functions.

This commit is contained in:
Haojun Liao 2023-02-03 14:42:47 +08:00
parent 0030c4b5ee
commit d4e3a9cf2b
1 changed files with 1 additions and 6 deletions

View File

@ -372,12 +372,7 @@ int32_t createDiskbasedBuf(SDiskbasedBuf** pBuf, int32_t pagesize, int32_t inMem
goto _error; goto _error;
} }
pPBuf->assistBuf = taosMemoryMalloc(pPBuf->pageSize + 2); // EXTRA BYTES pPBuf->all = tSimpleHashInit(64, fn);
if (pPBuf->assistBuf == NULL) {
goto _error;
}
pPBuf->all = tSimpleHashInit(20, fn);
if (pPBuf->all == NULL) { if (pPBuf->all == NULL) {
goto _error; goto _error;
} }