Changeset: c4725105a75b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/c4725105a75b Modified Files: gdk/gdk_storage.c Branch: Jul2021 Log Message:
Removed wrong assertions. The storage manager while running may not find anything to commit diffs (35 lines): diff --git a/gdk/gdk_storage.c b/gdk/gdk_storage.c --- a/gdk/gdk_storage.c +++ b/gdk/gdk_storage.c @@ -869,7 +869,6 @@ BATload_intern(bat bid, bool lock) b = DESCload(bid); if (b == NULL) { - assert(0); return NULL; } assert(!GDKinmemory(b->theap->farmid)); @@ -878,7 +877,6 @@ BATload_intern(bat bid, bool lock) if (b->ttype != TYPE_void) { if (HEAPload(b->theap, b->theap->filename, NULL, b->batRestricted == BAT_READ) != GDK_SUCCEED) { HEAPfree(b->theap, false); - assert(0); return NULL; } if (ATOMstorage(b->ttype) == TYPE_msk) { @@ -896,7 +894,6 @@ BATload_intern(bat bid, bool lock) if (HEAPload(b->tvheap, nme, "theap", b->batRestricted == BAT_READ) != GDK_SUCCEED) { HEAPfree(b->theap, false); HEAPfree(b->tvheap, false); - assert(0); return NULL; } if (ATOMstorage(b->ttype) == TYPE_str) { @@ -916,7 +913,6 @@ BATload_intern(bat bid, bool lock) HEAPfree(b->theap, false); if (b->tvheap) HEAPfree(b->tvheap, false); - assert(0); return NULL; } return b; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list