From 91e02e0dbf762eb292af830b7f0802a925abee02 Mon Sep 17 00:00:00 2001 From: slzhou Date: Tue, 15 Nov 2022 15:11:50 +0800 Subject: [PATCH] fix: change error code and add log when null query rsp received --- src/client/src/tscServer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 3e2c231889..729577d058 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; } -- GitLab