From edbd4067513df533744d6145436fd172586b548b Mon Sep 17 00:00:00 2001 From: haojun Liao Date: Thu, 27 Feb 2020 21:45:10 +0800 Subject: [PATCH] fix the crash when ctrl+c is triggered fix the crash when ctrl+c is triggered when querying super table. #1243 --- src/client/src/tscServer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 4ad8e9bb6e..641a5a9073 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -1301,8 +1301,6 @@ void tscKillMetricQuery(SSqlObj *pSql) { taosStopRpcConn(pSql->pSubs[i]->thandle); } - pSql->numOfSubs = 0; - /* * 1. if the subqueries are not launched or partially launched, we need to waiting the launched * query return to successfully free allocated resources. -- GitLab