Changeset: ee88597ba901 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ee88597ba901
Modified Files:
gdk/gdk_bbp.c
Branch: Jun2023
Log Message:
exit BBPtrim on shutdown
diffs (12 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -1476,6 +1476,8 @@ BBPtrim(bool aggressive)
if (!aggressive)
flag |= BBPHOT;
for (bat bid = 1, nbat = (bat) ATOMIC_GET(&BBPsize); bid < nbat; bid++)
{
+ if (GDKexiting())
+ return changed;
/* don't do this during a (sub)commit */
BBPtmlock();
MT_lock_set(&GDKswapLock(bid));
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]