diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 3e2c2318890671c056b46d9dfce181fec1312e82..729577d0588ee08fda8241745d3eb1198b85ea86 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -2955,7 +2955,8 @@ int tscProcessQueryRsp(SSqlObj *pSql) { SQueryTableRsp *pQueryAttr = (SQueryTableRsp *)pRes->pRsp; if (pQueryAttr == NULL) { - pRes->code = TSDB_CODE_TSC_OUT_OF_MEMORY; + tscError("0x%"PRIx64" invalid NULL query rsp received", pSql->self); + pRes->code = TSDB_CODE_QRY_APP_ERROR; return pRes->code; }