Merge branch 'feature/3_liaohj' of github.com:taosdata/TDengine into feature/3_liaohj
This commit is contained in:
commit
8f5a85f698
|
@ -439,7 +439,7 @@ SOperatorInfo* createMultiwaySortMergeOperatorInfo(SOperatorInfo** downStreams,
|
|||
pInfo->bufPageSize = getProperSortPageSize(rowSize);
|
||||
|
||||
uint32_t numOfSources = taosArrayGetSize(pSortInfo);
|
||||
numOfSources = MAX(2, numOfSources);
|
||||
numOfSources = TMAX(2, numOfSources);
|
||||
|
||||
pInfo->sortBufSize = numOfSources * pInfo->bufPageSize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue