[td-225]refactor.
This commit is contained in:
parent
18f5fd3a6e
commit
5fe628298a
|
@ -505,10 +505,7 @@ void tscTableMetaCallBack(void *param, TAOS_RES *res, int code) {
|
|||
return;
|
||||
|
||||
_error:
|
||||
if (code != TSDB_CODE_SUCCESS) {
|
||||
pSql->res.code = code;
|
||||
tscAsyncResultOnError(pSql);
|
||||
}
|
||||
|
||||
pRes->code = code;
|
||||
tscAsyncResultOnError(pSql);
|
||||
taosReleaseRef(tscObjRef, pSql->self);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue