Changeset: de4aad15c8b2 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=de4aad15c8b2
Modified Files:
monetdb5/modules/mal/joinpath.c
Branch: default
Log Message:
cleanup also in case of an empty join path
diffs (13 lines):
diff --git a/monetdb5/modules/mal/joinpath.c b/monetdb5/modules/mal/joinpath.c
--- a/monetdb5/modules/mal/joinpath.c
+++ b/monetdb5/modules/mal/joinpath.c
@@ -320,6 +320,9 @@ ALGjoinPath(Client cntxt, MalBlkPtr mb,
/* be optimistic, inherit the properties */
BATseqbase(b,0);
BATsettrivprop(b);
+
+ for( --top; top>=0; top--)
+ BBPunfix(joins[top]->batCacheid);
} else if (getFunctionId(pci) == leftjoinPathRef) {
b = ALGjoinPathBody(cntxt,top,joins, 0);
} else {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list