correct static error, deference a null pointer

This commit is contained in:
fang 2019-12-07 14:58:01 +08:00
parent f71b582fd9
commit 90b9967d6e
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ static void tscProcessAsyncRetrieveImpl(void *param, TAOS_RES *tres, int numOfRo
SSqlObj *pSql = (SSqlObj *)tres;
if (pSql == NULL) { // error
tscError("sql object is NULL");
tscQueueAsyncError(pSql->fetchFp, param);
tscQueueAsyncError(pSql->fetchFp, param); // fang pSql==NULL
return;
}