提交 bbacab73 编写于 作者: S slzhou

fix: remove unused field from row supporter

上级 41b8d9f1
...@@ -278,7 +278,6 @@ typedef struct SRowCompSupporter { ...@@ -278,7 +278,6 @@ typedef struct SRowCompSupporter {
__compar_fn_t comFunc; __compar_fn_t comFunc;
char* colData; char* colData;
int32_t colBytes; int32_t colBytes;
SArray* resultRows;
} SRowCompSupporter; } SRowCompSupporter;
static int compareRowData(const void* a, const void* b, const void* userData) { static int compareRowData(const void* a, const void* b, const void* userData) {
...@@ -357,8 +356,7 @@ static void sortGroupResByOrderList(SGroupResInfo* pGroupResInfo, SQueryRuntimeE ...@@ -357,8 +356,7 @@ static void sortGroupResByOrderList(SGroupResInfo* pGroupResInfo, SQueryRuntimeE
.dataOffset = dataOffset, .dataOffset = dataOffset,
.comFunc = getComparFunc(type, 0), .comFunc = getComparFunc(type, 0),
.colData = colData, .colData = colData,
.colBytes = bytes, .colBytes = bytes};
.resultRows = pGroupResInfo->pRows};
taosArraySortPWithExt(pGroupResInfo->pRows, compareRowData, &support); taosArraySortPWithExt(pGroupResInfo->pRows, compareRowData, &support);
free(colData); free(colData);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册