diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index 34d0108cbfb315e62eb6d016dc93a00bf3eb83c1..a50c17b8dbcfd95fdd49d4d9a28a54cdcbb30ba5 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -242,9 +242,6 @@ static void sortGroupResByOrderList(SGroupResInfo *pGroupResInfo, SQueryRuntimeE if (size <= 0) { return; } - - taosArrayDestroy(columnOrderList); - int32_t orderId = pRuntimeEnv->pQueryAttr->order.orderColId; if (orderId <= 0) { return;