correct static error, deference a null pointer
This commit is contained in:
parent
f71b582fd9
commit
90b9967d6e
|
@ -157,7 +157,7 @@ static void tscProcessAsyncRetrieveImpl(void *param, TAOS_RES *tres, int numOfRo
|
||||||
SSqlObj *pSql = (SSqlObj *)tres;
|
SSqlObj *pSql = (SSqlObj *)tres;
|
||||||
if (pSql == NULL) { // error
|
if (pSql == NULL) { // error
|
||||||
tscError("sql object is NULL");
|
tscError("sql object is NULL");
|
||||||
tscQueueAsyncError(pSql->fetchFp, param);
|
tscQueueAsyncError(pSql->fetchFp, param); // fang pSql==NULL
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue