fix issue

This commit is contained in:
54liuyao 2024-08-07 17:08:50 +08:00
parent 3a7c4ab5a1
commit 531dfbb135
1 changed files with 1 additions and 1 deletions

View File

@ -2727,7 +2727,7 @@ static int32_t tsortOpenForPQSort(SSortHandle* pHandle) {
pqNode.data = &refTuple;
PriorityQueueNode* pPushedNode = taosBQPush(pHandle->pBoundedQueue, &pqNode);
if (!pPushedNode) {
return terrno;
if (terrno != TSDB_CODE_SUCCESS) return terrno;
} else {
pPushedNode->data = NULL;
int32_t code = createAllocatedTuple(pBlock, colNum, tupleLen, rowIdx, (TupleDesc**)&pPushedNode->data);