diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index c0fe7b128ab4401e471263be34f692a3e0586194..aa5ce4fa57ed86751985008d34511ebdcadb0f84 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -264,7 +264,8 @@ static void sortGroupResByOrderList(SGroupResInfo *pGroupResInfo, SQueryRuntimeE SRowCompSupporter support = {.pRuntimeEnv = pRuntimeEnv, .dataOffset = dataOffset, .comFunc = getComparFunc(type, 0)}; - return taosArraySortPWithExt(pGroupResInfo->pRows, compareRowData, &support); + taosArraySortPWithExt(pGroupResInfo->pRows, compareRowData, &support); + return; } //setup the output buffer for each operator