Changeset: 71367e220e7a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/71367e220e7a
Modified Files:
        sql/backends/monet5/rel_bin.c
Branch: pushcands
Log Message:

don't update inner sub.


diffs (14 lines):

diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -3575,8 +3575,8 @@ rel2bin_select(backend *be, sql_rel *rel
                if ((p=find_prop(e->p, PROP_HASHCOL)) != NULL) {
                        sql_idx *i = p->value;
 
-                       sub->cand = rel2bin_hash_lookup(be, rel, sub, NULL, i, 
en);
-                       if (!sub->cand)
+                       sel = rel2bin_hash_lookup(be, rel, sub, NULL, i, en);
+                       if (sel)
                                return NULL;
                }
        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to