Changeset: fa5b64624a31 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fa5b64624a31
Modified Files:
        gdk/gdk_batop.c
Branch: Jan2014
Log Message:

fix problem with join, ie hash was used from parent (because of the bug in
bat slice).


diffs (15 lines):

diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -826,10 +826,7 @@ BATslice(BAT *b, BUN l, BUN h)
        if (BAThrestricted(b) == BAT_READ && BATtrestricted(b) == BAT_READ) {
                BUN cnt = h - l;
 
-               if (BAThdense(b))
-                       bn = BATmirror(VIEWhead(BATmirror(b)));
-               else
-                       bn = VIEWcreate_(b, b, TRUE);
+               bn = VIEWcreate_(b, b, TRUE);
                bn->batFirst = bn->batDeleted = bn->batInserted = 0;
                bn->H->heap.base = (bn->htype) ? BUNhloc(bi, l) : NULL;
                bn->T->heap.base = (bn->ttype) ? BUNtloc(bi, l) : NULL;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to