Changeset: 985a92a37bbd for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=985a92a37bbd
Modified Files:
        gdk/gdk_join.c
Branch: Jul2015
Log Message:

fixed dense property in hash and merge join with candidates on left


diffs (23 lines):

diff --git a/gdk/gdk_join.c b/gdk/gdk_join.c
--- a/gdk/gdk_join.c
+++ b/gdk/gdk_join.c
@@ -1012,6 +1012,9 @@ mergejoin(BAT *r1, BAT *r2, BAT *l, BAT 
 
        rcandorig = rcand;
        rstartorig = rstart;
+
+       if (sl)
+               r1->tdense = sl->tdense;
        while (lcand ? lcand < lcandend : lstart < lend) {
                if (!nil_on_miss && !must_match && lscan > 0) {
                        /* If l is sorted (lscan > 0), we look at the
@@ -1822,6 +1825,9 @@ hashjoin(BAT *r1, BAT *r2, BAT *l, BAT *
        r2->trevsorted = 0;
        r2->tdense = 0;
 
+       if (sl) 
+               r1->tdense = sl->tdense;
+
        if (lstart == lend || (!nil_on_miss && rstart == rend)) {
                /* nothing to do: there are no matches */
                if (must_match && lstart < lend) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to