fix(query): fix syntax error on windows platform.
This commit is contained in:
parent
75e0eaa53f
commit
5492155009
|
@ -439,7 +439,7 @@ SOperatorInfo* createMultiwaySortMergeOperatorInfo(SOperatorInfo** downStreams,
|
||||||
pInfo->bufPageSize = getProperSortPageSize(rowSize);
|
pInfo->bufPageSize = getProperSortPageSize(rowSize);
|
||||||
|
|
||||||
uint32_t numOfSources = taosArrayGetSize(pSortInfo);
|
uint32_t numOfSources = taosArrayGetSize(pSortInfo);
|
||||||
numOfSources = MAX(2, numOfSources);
|
numOfSources = TMAX(2, numOfSources);
|
||||||
|
|
||||||
pInfo->sortBufSize = numOfSources * pInfo->bufPageSize;
|
pInfo->sortBufSize = numOfSources * pInfo->bufPageSize;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue