From 70f9acbfde7136d52d0fb08ccc8e31894c8332bb Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Mon, 5 Jul 2021 18:02:32 +0800 Subject: [PATCH] [TD-4947] handle mixed group by with top/bottom corrupt --- src/query/src/qExecutor.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index 34d0108cbf..a50c17b8db 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;