Skip to content

Commit

Permalink
Save the metadata representing by the extensible node with the null t…
Browse files Browse the repository at this point in the history
…erminator.
  • Loading branch information
antamel committed Oct 10, 2023
1 parent 2840ce1 commit 71f445a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/parser/cypher_clause.c
Original file line number Diff line number Diff line change
Expand Up @@ -6760,7 +6760,7 @@ static FuncExpr *make_clause_func_expr(char *function_name,
*/
outNode(str, clause_information);

clause_information_const = makeConst(INTERNALOID, -1, InvalidOid, str->len,
clause_information_const = makeConst(INTERNALOID, -1, InvalidOid, str->len + 1,
PointerGetDatum(str->data), false, false);

func_oid = get_ag_func_oid(function_name, 1, INTERNALOID);
Expand Down

0 comments on commit 71f445a

Please sign in to comment.