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

misplaced bracket in size computation (thanks to roberto to find this)


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
@@ -2920,8 +2920,8 @@ BATsubjoin(BAT **r1p, BAT **r2p, BAT *l,
        swap = 0;
 
        /* some statistics to help us decide */
-       lsize = (BUN) (BATcount(l) * (Tsize(l) + (l->T->vheap ? 
l->T->vheap->size : 0) + 2 * sizeof(BUN)));
-       rsize = (BUN) (BATcount(r) * (Tsize(r) + (r->T->vheap ? 
r->T->vheap->size : 0) + 2 * sizeof(BUN)));
+       lsize = (BUN) (BATcount(l) * (Tsize(l)) + (l->T->vheap ? 
l->T->vheap->size : 0) + 2 * sizeof(BUN));
+       rsize = (BUN) (BATcount(r) * (Tsize(r)) + (r->T->vheap ? 
r->T->vheap->size : 0) + 2 * sizeof(BUN));
        mem_size = GDK_mem_maxsize / (GDKnr_threads ? GDKnr_threads : 1);
 
        lparent = VIEWtparent(l);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to