[td-225]fix compiler error.
This commit is contained in:
parent
c9c71a8520
commit
b87add1b58
|
@ -7240,7 +7240,7 @@ int32_t validateSqlNode(SSqlObj* pSql, SSqlNode* pSqlNode, int32_t index) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// set all query tables, which are maybe more than one.
|
// set all query tables, which are maybe more than one.
|
||||||
code = doLoadAllTableMeta(pSql, index, pSqlNode, fromSize);
|
code = doLoadAllTableMeta(pSql, index, pSqlNode, (int32_t) fromSize);
|
||||||
if (code != TSDB_CODE_SUCCESS) {
|
if (code != TSDB_CODE_SUCCESS) {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
|
@ -825,7 +825,7 @@ int tscBuildQueryMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
|
||||||
|
|
||||||
SQueryInfo *pQueryInfo = tscGetActiveQueryInfo(pCmd);
|
SQueryInfo *pQueryInfo = tscGetActiveQueryInfo(pCmd);
|
||||||
|
|
||||||
SQueryAttr query = {0};
|
SQueryAttr query = {{0}};
|
||||||
tscCreateQueryFromQueryInfo(pQueryInfo, &query, pSql);
|
tscCreateQueryFromQueryInfo(pQueryInfo, &query, pSql);
|
||||||
|
|
||||||
SArray* tableScanOperator = createTableScanPlan(&query);
|
SArray* tableScanOperator = createTableScanPlan(&query);
|
||||||
|
|
Loading…
Reference in New Issue