refactor(query): opt perf by remove some functions.
This commit is contained in:
parent
0030c4b5ee
commit
d4e3a9cf2b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue