[td-225]fix compiler error.
This commit is contained in:
parent
b87add1b58
commit
97ee48779c
|
@ -1013,7 +1013,7 @@ int tscBuildQueryMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
|
|||
pQueryMsg->tsBuf.tsNumOfBlocks = htonl(pQueryMsg->tsBuf.tsNumOfBlocks);
|
||||
}
|
||||
|
||||
int32_t numOfOperator = taosArrayGetSize(queryOperator);
|
||||
int32_t numOfOperator = (int32_t) taosArrayGetSize(queryOperator);
|
||||
pQueryMsg->numOfOperator = htonl(numOfOperator);
|
||||
for(int32_t i = 0; i < numOfOperator; ++i) {
|
||||
int32_t *operator = taosArrayGet(queryOperator, i);
|
||||
|
|
|
@ -16,11 +16,18 @@
|
|||
#define QNODE_TIMEWINDOW 11
|
||||
|
||||
typedef struct SQueryNode {
|
||||
int32_t type;
|
||||
int32_t type; // the type of logic node
|
||||
char *name; // the name of logic node
|
||||
|
||||
SSchema *pSchema; // the schema of the input SSDatablock
|
||||
int32_t numOfCols; // number of input columns
|
||||
SExprInfo *pExpr; // the query functions or sql aggregations
|
||||
int32_t numOfOutput; // number of result columns, which is also the number of pExprs
|
||||
|
||||
// previous operator to generated result for current node to process
|
||||
// in case of join, multiple prev nodes exist.
|
||||
struct SQueryNode* prevNode;
|
||||
|
||||
struct SQueryNode* nextNode;
|
||||
} SQueryNode;
|
||||
|
||||
// TODO create the query plan
|
||||
|
|
Loading…
Reference in New Issue