This is an automated email from the ASF dual-hosted git repository.

jgemignani pushed a commit to branch PG14
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/PG14 by this push:
     new 03cc69c0 Fix warning message in build. (#1075)
03cc69c0 is described below

commit 03cc69c070aed01ce6388ac9bc2a096945e01528
Author: John Gemignani <[email protected]>
AuthorDate: Fri Jul 21 15:04:57 2023 -0700

    Fix warning message in build. (#1075)
    
    This fixes a simple warning message when building.
    
    This is also to test the CI hooks and DockerHub integrations
    for the PG14 branch.
---
 src/backend/parser/cypher_analyze.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/parser/cypher_analyze.c 
b/src/backend/parser/cypher_analyze.c
index a7c31c33..f1c481c8 100644
--- a/src/backend/parser/cypher_analyze.c
+++ b/src/backend/parser/cypher_analyze.c
@@ -522,7 +522,7 @@ static void convert_cypher_to_subquery(RangeTblEntry *rte, 
ParseState *pstate)
                 (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
                  errmsg("too many extra_nodes passed from parser")));
 
-        list_delete_ptr(stmt, temp);
+        stmt = list_delete_ptr(stmt, temp);
     }
 
     cancel_errpos_ecb(&ecb_state);

Reply via email to