TD-1812
This commit is contained in:
parent
ff9eb115c7
commit
4dc1235d05
|
@ -427,8 +427,11 @@ void tscTableMetaCallBack(void *param, TAOS_RES *res, int code) {
|
||||||
} else {
|
} else {
|
||||||
assert(code == TSDB_CODE_SUCCESS);
|
assert(code == TSDB_CODE_SUCCESS);
|
||||||
}
|
}
|
||||||
|
// param already freed by other routine and pSql in tscCache when ctrl + c
|
||||||
assert((tscGetNumOfTags(pTableMetaInfo->pTableMeta) != 0) && pSql->param != NULL);
|
if (atomic_load_ptr(&pSql->param) == NULL) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
assert((tscGetNumOfTags(pTableMetaInfo->pTableMeta) != 0));
|
||||||
|
|
||||||
SRetrieveSupport *trs = (SRetrieveSupport *)pSql->param;
|
SRetrieveSupport *trs = (SRetrieveSupport *)pSql->param;
|
||||||
SSqlObj * pParObj = trs->pParentSql;
|
SSqlObj * pParObj = trs->pParentSql;
|
||||||
|
|
Loading…
Reference in New Issue