This is an automated email from the ASF dual-hosted git repository.
yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/main by this push:
new 0df05a0abb1 Fix gcc 12.4 complier error in LookupFuncWithArgs.
0df05a0abb1 is described below
commit 0df05a0abb13f343c0e38734202e5c1d46ec3373
Author: Jianghua Yang <[email protected]>
AuthorDate: Mon Jun 16 10:40:01 2025 +0800
Fix gcc 12.4 complier error in LookupFuncWithArgs.
---
src/backend/parser/parse_func.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/parser/parse_func.c b/src/backend/parser/parse_func.c
index bbda4328d4c..44acfd9c81b 100644
--- a/src/backend/parser/parse_func.c
+++ b/src/backend/parser/parse_func.c
@@ -2260,7 +2260,7 @@ LookupFuncName(List *funcname, int nargs, const Oid
*argtypes, bool missing_ok)
Oid
LookupFuncWithArgs(ObjectType objtype, ObjectWithArgs *func, bool missing_ok)
{
- Oid argoids[FUNC_MAX_ARGS];
+ Oid argoids[FUNC_MAX_ARGS] = {InvalidOid,};
int argcount;
int nargs;
int i;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]