Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enh/ts 5255/cols func2 #29354

Open
wants to merge 17 commits into
base: 3.0
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: mem leak
  • Loading branch information
facetosea committed Dec 29, 2024
commit 2611eef0e279a0bf9c713cde7bd7b66dbf8e21d7
2 changes: 1 addition & 1 deletion include/libs/nodes/querynodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typedef struct SExprNode {
ENodeType type;
SDataType resType;
char aliasName[TSDB_COL_NAME_LEN + TSDB_COL_NAME_EXLEN];
char userAlias[TSDB_COL_NAME_LEN];
char userAlias[TSDB_COL_NAME_LEN + TSDB_COL_NAME_EXLEN];
SArray* pAssociation;
bool asAlias;
bool asParam;
Expand Down
2 changes: 2 additions & 0 deletions source/libs/executor/src/executil.c
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,8 @@ static int32_t setSelectValueColumnInfo(SqlFunctionCtx* pCtx, int32_t numOfOutpu
taosArrayDestroyP(pValCtxArray, deleteSubsidiareCtx);
taosMemoryFreeClear(pValCtx);
qError("%s failed at line %d since %s", __func__, lino, tstrerror(code));
} else {
taosArrayDestroy(pValCtxArray);
}
return code;
}
Expand Down