Skip to content

[bisect] c1 0e3e995 — CREATE/MERGE $param fix#63

Closed
dylanbstorey wants to merge 1 commit into
mainfrom
bisect/c1-0e3e995
Closed

[bisect] c1 0e3e995 — CREATE/MERGE $param fix#63
dylanbstorey wants to merge 1 commit into
mainfrom
bisect/c1-0e3e995

Conversation

@dylanbstorey
Copy link
Copy Markdown
Contributor

Bisect probe — do not merge

…ERGE

Resolves two data-loss bugs from issue #61 where parameterized relationship
properties silently became NULL, plus plumbs ON CREATE / ON MATCH SET through
to edge variables (previously stubbed "not yet implemented").

- executor_create.c: add AST_NODE_PARAMETER branch to the rel-create
  property loop, mirroring the existing node path. Refactor the LITERAL
  branch so set_edge_property is called once after the if/else chain.
  Fixes GQLITE-T-0186 (#61.2).

- executor_merge.c: same PARAMETER handling in both MERGE entry points,
  and replace the "not yet implemented for relationship variables" debug
  stubs with real execute_set_items calls. Broaden ON CREATE trigger to
  fire when the MERGE produced either a new edge or a new target
  endpoint. Fixes GQLITE-T-0187 (#61.3).

- tests/functional/39_issue_regression_tests.sql: regression coverage
  for #61.2 (text/int/real/bool params on rel inline props) and #61.3
  (MERGE rel inline $param plus ON CREATE SET $param).

Also filed Metis tickets and RCA for the remaining five sub-bugs of
issue #61 (T-0185, T-0188, T-0189, T-0190, T-0191) — all marked blocked
with detailed findings. Initiatives GQLITE-I-0035 (semantic coverage
matrix) and GQLITE-I-0036 (cross-clause var_map threading) scope the
follow-on work.
@dylanbstorey
Copy link
Copy Markdown
Contributor Author

Closing: bisect complete, see GQLITE-T-0205. Windows regression is pre-existing runner-image drift.

@dylanbstorey dylanbstorey deleted the bisect/c1-0e3e995 branch April 19, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant