diff --git a/src/client/src/tscSql.c b/src/client/src/tscSql.c index 4c9439f0a7..e243002ff6 100644 --- a/src/client/src/tscSql.c +++ b/src/client/src/tscSql.c @@ -667,6 +667,7 @@ void taos_stop_query(TAOS_RES *res) { // TODO there are multi-thread problem. // It may have been released by the other thread already. + // The ref count may fix this problem. SQueryInfo *pQueryInfo = tscGetQueryInfoDetail(pCmd, pCmd->clauseIndex); if (tscIsTwoStageSTableQuery(pQueryInfo, 0)) { tscKillSTableQuery(pSql);