[td-225] remove false assert
This commit is contained in:
parent
584ad68967
commit
4b3254a380
|
@ -698,8 +698,10 @@ void taos_stop_query(TAOS_RES *res) {
|
||||||
tscKillSTableQuery(pSql);
|
tscKillSTableQuery(pSql);
|
||||||
} else {
|
} else {
|
||||||
if (pSql->cmd.command < TSDB_SQL_LOCAL) {
|
if (pSql->cmd.command < TSDB_SQL_LOCAL) {
|
||||||
assert(pSql->pRpcCtx != NULL);
|
if (pSql->pRpcCtx != NULL) {
|
||||||
rpcCancelRequest(pSql->pRpcCtx);
|
rpcCancelRequest(pSql->pRpcCtx);
|
||||||
|
pSql->pRpcCtx = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue