Changeset: 71c19e70c626 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/71c19e70c626
Modified Files:
        gdk/gdk_join.c
Branch: Mar2025
Log Message:

If left and right are singleton void-nil, and not_in is set, we should not 
trigger assert.


diffs (14 lines):

diff --git a/gdk/gdk_join.c b/gdk/gdk_join.c
--- a/gdk/gdk_join.c
+++ b/gdk/gdk_join.c
@@ -2004,8 +2004,8 @@ mergejoin(BAT **r1p, BAT **r2p, BAT **r3
        if (BATtvoid(l)) {
                /* l->ttype == TYPE_void && is_oid_nil(l->tseqbase) is
                 * handled by selectjoin */
-               assert(!is_oid_nil(l->tseqbase));
-               canditer_init(&llci, NULL, l);
+               if (!is_oid_nil(l->tseqbase))
+                       canditer_init(&llci, NULL, l);
                lvals = NULL;
        } else {
                lvals = li.base;                              /* non NULL */
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to