[TD-2932]
[TD-2932]<fix>: fix crash during cancel query at client side.
This commit is contained in:
parent
4e2e7596cb
commit
7a3c69c238
|
@ -2450,7 +2450,6 @@ static void tscRetrieveFromDnodeCallBack(void *param, TAOS_RES *tres, int numOfR
|
||||||
SRetrieveSupport *trsupport = (SRetrieveSupport *)param;
|
SRetrieveSupport *trsupport = (SRetrieveSupport *)param;
|
||||||
if (pSql->param == NULL || param == NULL) {
|
if (pSql->param == NULL || param == NULL) {
|
||||||
tscDebug("%p already freed in dnodecallback", pSql);
|
tscDebug("%p already freed in dnodecallback", pSql);
|
||||||
assert(pSql->res.code == TSDB_CODE_TSC_QUERY_CANCELLED);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue