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

[TD-2460]

上级 a9583d82
...@@ -2501,15 +2501,12 @@ void tscBuildResFromSubqueries(SSqlObj *pSql) { ...@@ -2501,15 +2501,12 @@ void tscBuildResFromSubqueries(SSqlObj *pSql) {
tscRestoreSQLFuncForSTableQuery(pQueryInfo); tscRestoreSQLFuncForSTableQuery(pQueryInfo);
} }
while (1) { assert (pRes->row >= pRes->numOfRows);
assert (pRes->row >= pRes->numOfRows); doBuildResFromSubqueries(pSql);
if (pRes->code == TSDB_CODE_SUCCESS) {
doBuildResFromSubqueries(pSql); (*pSql->fp)(pSql->param, pSql, pRes->numOfRows);
if (pRes->code == TSDB_CODE_SUCCESS) { } else {
(*pSql->fp)(pSql->param, pSql, pRes->numOfRows); tscQueueAsyncRes(pSql);
} else {
tscQueueAsyncRes(pSql);
}
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册