fix: PkOrder Mem
This commit is contained in:
parent
3e8acae2a7
commit
86b06d0a7a
|
@ -1699,6 +1699,7 @@ static int32_t initRowIdSort(SSortHandle* pHandle) {
|
||||||
|
|
||||||
taosArrayDestroy(pHandle->pSortInfo);
|
taosArrayDestroy(pHandle->pSortInfo);
|
||||||
pHandle->pSortInfo = pOrderInfoList;
|
pHandle->pSortInfo = pOrderInfoList;
|
||||||
|
pHandle->cmpParam.pPkOrder = (pHandle->bSortPk) ? taosArrayGet(pHandle->pSortInfo, 1) : NULL;
|
||||||
return TSDB_CODE_SUCCESS;
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue