Changeset: bf6ebbc9da1a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bf6ebbc9da1a
Modified Files:
gdk/gdk_select.c
Branch: Jun2020
Log Message:
fixed small problem with rangejoin, as false and null = false, we cannot skip
early on nil values.
Incase of a nested loop we now simply do the checks inside the loop (which
already had the correct logic)
diffs (20 lines):
diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -2243,16 +2243,12 @@ rangejoin(BAT *r1, BAT *r2, BAT *l, BAT
ro = canditer_next(rci);
if (rlvals) {
vrl = VALUE(rl, ro - rl->hseqbase);
- if (cmp(vrl, nil) == 0)
- continue;
} else {
/* TYPE_void */
rlval = ro - rl->hseqbase +
rl->tseqbase;
}
if (rhvals) {
vrh = VALUE(rh, ro - rh->hseqbase);
- if (cmp(vrh, nil) == 0)
- continue;
} else {
/* TYPE_void */
rhval = ro - rh->hseqbase +
rh->tseqbase;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list