Changeset: 468065ffb027 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/468065ffb027
Modified Files:
gdk/gdk_bbp.c
Branch: Jul2021
Log Message:
Do not trim views.
This was unlikely to happen (I never saw it when not trimming
aggressively, which was actually never done), but just to be sure.
diffs (11 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -1194,6 +1194,7 @@ BBPtrim(bool aggressive)
(b = BBP_cache(bid)) != NULL) {
MT_lock_set(&b->theaplock);
if (b->batSharecnt == 0 &&
+ !isVIEW(b) &&
(!BATdirty(b) || (aggressive && b->theap->storage
== STORE_MMAP && (b->tvheap == NULL || b->tvheap->storage == STORE_MMAP))) /*&&
(BBP_status(bid) & BBPPERSISTENT ||
(b->batRole == PERSISTENT && BBP_lrefs(bid) == 1))
*/) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]