[td-225] refactor codes.
This commit is contained in:
parent
8fdfc30673
commit
3662e7c39a
|
@ -192,7 +192,6 @@ typedef struct SQInfo {
|
||||||
int32_t offset; // offset in group result set of subgroup, todo refactor
|
int32_t offset; // offset in group result set of subgroup, todo refactor
|
||||||
SArray* arrTableIdInfo;
|
SArray* arrTableIdInfo;
|
||||||
|
|
||||||
T_REF_DECLARE()
|
|
||||||
/*
|
/*
|
||||||
* the query is executed position on which meter of the whole list.
|
* the query is executed position on which meter of the whole list.
|
||||||
* when the index reaches the last one of the list, it means the query is completed.
|
* when the index reaches the last one of the list, it means the query is completed.
|
||||||
|
@ -201,8 +200,6 @@ typedef struct SQInfo {
|
||||||
*/
|
*/
|
||||||
int32_t tableIndex;
|
int32_t tableIndex;
|
||||||
int32_t numOfGroupResultPages;
|
int32_t numOfGroupResultPages;
|
||||||
_qinfo_free_fn_t freeFn; //todo remove it
|
|
||||||
|
|
||||||
void* pBuf; // allocated buffer for STableQueryInfo, sizeof(STableQueryInfo)*numOfTables;
|
void* pBuf; // allocated buffer for STableQueryInfo, sizeof(STableQueryInfo)*numOfTables;
|
||||||
|
|
||||||
} SQInfo;
|
} SQInfo;
|
||||||
|
|
|
@ -187,7 +187,7 @@ typedef struct SQLFunctionCtx {
|
||||||
} SQLFunctionCtx;
|
} SQLFunctionCtx;
|
||||||
|
|
||||||
typedef struct SQLAggFuncElem {
|
typedef struct SQLAggFuncElem {
|
||||||
char aName[TSDB_FUNCTIONS_NAME_MAX_LENGTH];
|
char aName[TSDB_FUNCTIONS_NAME_MAX_LENGTH];
|
||||||
|
|
||||||
uint8_t nAggIdx; // index of function in aAggs
|
uint8_t nAggIdx; // index of function in aAggs
|
||||||
int8_t stableFuncId; // transfer function for super table query
|
int8_t stableFuncId; // transfer function for super table query
|
||||||
|
|
Loading…
Reference in New Issue