From 55ad10e270b0a915acd81513d0b0619c43a23032 Mon Sep 17 00:00:00 2001 From: mateusvmv Date: Fri, 22 Mar 2024 14:24:43 -0300 Subject: [PATCH] Comments were backwards --- cozo-core/src/query/compile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cozo-core/src/query/compile.rs b/cozo-core/src/query/compile.rs index 82d935f9..3bdb3c3d 100644 --- a/cozo-core/src/query/compile.rs +++ b/cozo-core/src/query/compile.rs @@ -314,9 +314,9 @@ impl<'a> SessionTx<'a> { if let Some(join_idx) = right_joiner_vars_pos_rev[orig_idx] { // Mark the field as bound, since it is used in the join not_bound[join_idx] = false; - // Push the index symbol to the left side + // Push the joiner symbol to the left side left_keys.push(prev_joiner_vars[join_idx].clone()); - // Push the joiner symbol to the right side + // Push the index symbol to the right side right_keys.push(tv.clone()); } index_vars.push(tv);