Changeset: 17edd1f2dd83 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=17edd1f2dd83
Modified Files:
gdk/gdk_hash.c
Branch: Oct2020
Log Message:
Temporary hash files go to TRANSIENT farm.
diffs (14 lines):
diff --git a/gdk/gdk_hash.c b/gdk/gdk_hash.c
--- a/gdk/gdk_hash.c
+++ b/gdk/gdk_hash.c
@@ -740,8 +740,8 @@ BAThash_impl(BAT *restrict b, struct can
}
if ((h = GDKzalloc(sizeof(*h))) == NULL ||
- (h->heaplink.farmid = BBPselectfarm(b->batRole, b->ttype,
hashheap)) < 0 ||
- (h->heapbckt.farmid = BBPselectfarm(b->batRole, b->ttype,
hashheap)) < 0) {
+ (h->heaplink.farmid = BBPselectfarm(hascand ? TRANSIENT :
b->batRole, b->ttype, hashheap)) < 0 ||
+ (h->heapbckt.farmid = BBPselectfarm(hascand ? TRANSIENT :
b->batRole, b->ttype, hashheap)) < 0) {
GDKfree(h);
return NULL;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list