提交 b87add1b 编写于 作者: H Haojun Liao

[td-225]fix compiler error.

上级 c9c71a85
......@@ -7240,7 +7240,7 @@ int32_t validateSqlNode(SSqlObj* pSql, SSqlNode* pSqlNode, int32_t index) {
}
// 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) {
return code;
}
......
......@@ -825,7 +825,7 @@ int tscBuildQueryMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
SQueryInfo *pQueryInfo = tscGetActiveQueryInfo(pCmd);
SQueryAttr query = {0};
SQueryAttr query = {{0}};
tscCreateQueryFromQueryInfo(pQueryInfo, &query, pSql);
SArray* tableScanOperator = createTableScanPlan(&query);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册