fix issue

This commit is contained in:
54liuyao 2024-08-08 08:53:43 +08:00
parent d3e73fb87a
commit 2039bb5934
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) {
if (terrno != TSDB_CODE_SUCCESS) return terrno;
// do nothing if push failed
} else {
pPushedNode->data = NULL;
int32_t code = createAllocatedTuple(pBlock, colNum, tupleLen, rowIdx, (TupleDesc**)&pPushedNode->data);