From bbacab730f82ab4e7761d11735e756e551d78b33 Mon Sep 17 00:00:00 2001 From: slzhou Date: Tue, 13 Sep 2022 17:43:42 +0800 Subject: [PATCH] fix: remove unused field from row supporter --- src/query/src/qExecutor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index bf1a658b51..9ac0bf7279 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -278,7 +278,6 @@ typedef struct SRowCompSupporter { __compar_fn_t comFunc; char* colData; int32_t colBytes; - SArray* resultRows; } SRowCompSupporter; static int compareRowData(const void* a, const void* b, const void* userData) { @@ -357,8 +356,7 @@ static void sortGroupResByOrderList(SGroupResInfo* pGroupResInfo, SQueryRuntimeE .dataOffset = dataOffset, .comFunc = getComparFunc(type, 0), .colData = colData, - .colBytes = bytes, - .resultRows = pGroupResInfo->pRows}; + .colBytes = bytes}; taosArraySortPWithExt(pGroupResInfo->pRows, compareRowData, &support); free(colData); } -- GitLab