未验证 提交 edbd4067 编写于 作者: H haojun Liao 提交者: GitHub

fix the crash when ctrl+c is triggered

fix the crash when ctrl+c is triggered when querying super table. #1243
上级 46724513
...@@ -1301,8 +1301,6 @@ void tscKillMetricQuery(SSqlObj *pSql) { ...@@ -1301,8 +1301,6 @@ void tscKillMetricQuery(SSqlObj *pSql) {
taosStopRpcConn(pSql->pSubs[i]->thandle); taosStopRpcConn(pSql->pSubs[i]->thandle);
} }
pSql->numOfSubs = 0;
/* /*
* 1. if the subqueries are not launched or partially launched, we need to waiting the launched * 1. if the subqueries are not launched or partially launched, we need to waiting the launched
* query return to successfully free allocated resources. * query return to successfully free allocated resources.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册