fix: PkOrder Mem

This commit is contained in:
xsren 2024-08-01 09:42:55 +08:00
parent 3e8acae2a7
commit 86b06d0a7a
1 changed files with 1 additions and 0 deletions

View File

@ -1699,6 +1699,7 @@ static int32_t initRowIdSort(SSortHandle* pHandle) {
taosArrayDestroy(pHandle->pSortInfo);
pHandle->pSortInfo = pOrderInfoList;
pHandle->cmpParam.pPkOrder = (pHandle->bSortPk) ? taosArrayGet(pHandle->pSortInfo, 1) : NULL;
return TSDB_CODE_SUCCESS;
}