Changeset: e8ce4d7d9e11 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e8ce4d7d9e11
Modified Files:
gdk/gdk_bat.c
gdk/gdk_heap.c
Branch: Jun2023
Log Message:
Copy the hasfile property in a few more places.
diffs (22 lines):
diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -611,6 +611,7 @@ BATclear(BAT *b, bool force)
.farmid = b->tvheap->farmid,
.parentid = b->tvheap->parentid,
.dirty = true,
+ .hasfile = b->tvheap->hasfile,
};
strcpy_len(th->filename, b->tvheap->filename,
sizeof(th->filename));
if (ATOMheap(b->ttype, th, 0) != GDK_SUCCEED) {
diff --git a/gdk/gdk_heap.c b/gdk/gdk_heap.c
--- a/gdk/gdk_heap.c
+++ b/gdk/gdk_heap.c
@@ -107,6 +107,7 @@ HEAPgrow(Heap **hp, size_t size, bool ma
.dirty = true,
.parentid = old->parentid,
.wasempty = old->wasempty,
+ .hasfile = old->hasfile,
};
memcpy(new->filename, old->filename, sizeof(new->filename));
if (HEAPalloc(new, size, 1) == GDK_SUCCEED) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]