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

[TD-2460]<fix>: join query failed through REST API.

上级 89d490ad
......@@ -2505,8 +2505,11 @@ void tscBuildResFromSubqueries(SSqlObj *pSql) {
assert (pRes->row >= pRes->numOfRows);
doBuildResFromSubqueries(pSql);
tsem_post(&pSql->rspSem);
return;
if (pRes->code == TSDB_CODE_SUCCESS) {
(*pSql->fp)(pSql->param, pSql, pRes->numOfRows);
} else {
tscQueueAsyncRes(pSql);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册