Merge pull request #27778 from taosdata/fix/3.0/TD-32000

fix:[TD-32000] fix indirect leak caused by using wrong way to handle error
This commit is contained in:
Pan Wei 2024-09-11 09:37:13 +08:00 committed by GitHub
commit f463eb2555
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -1729,11 +1729,9 @@ EDealRes fltTreeToGroup(SNode *pNode, void *pContext) {
return DEAL_RES_IGNORE_CHILD; return DEAL_RES_IGNORE_CHILD;
} }
ctx->code = TSDB_CODE_APP_ERROR;
fltError("invalid condition type, type:%d", node->condType); fltError("invalid condition type, type:%d", node->condType);
return DEAL_RES_ERROR; FLT_ERR_JRET(TSDB_CODE_APP_ERROR);
} }
if (QUERY_NODE_OPERATOR == nType) { if (QUERY_NODE_OPERATOR == nType) {