Skip to content

Commit

Permalink
fix for link properies
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed Feb 2, 2024
1 parent c91eee2 commit ead6e58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions edb/pgsql/compiler/relgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,11 @@ def process_set_as_link_property_ref(
if link_rvar is None:
src_rvar = get_set_rvar(ir_source, ctx=newctx)
assert link_prefix.rptr is not None

link_rvar = relctx.maybe_get_path_rvar(
newctx.rel, link_path_id, aspect='source', ctx=newctx
)
if link_rvar is None:
link_rvar = relctx.new_pointer_rvar(
link_prefix.rptr, src_rvar=src_rvar,
link_bias=True, ctx=newctx)
Expand Down

0 comments on commit ead6e58

Please sign in to comment.