Changeset: 2a64a51ae777 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/2a64a51ae777
Modified Files:
sql/storage/store.c
Branch: Jul2021
Log Message:
Always destroy store changes list and use tracer instead of print calls
diffs (21 lines):
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -1987,15 +1987,15 @@ store_exit(sqlstore *store)
if (c->cleanup && !c->cleanup(store, c,
oldest)) {
/* try again with newer oldest, should
cleanup any pending issues */
if (!c->cleanup(store, c, oldest+1))
- printf("not deleted\n");
+ TRC_DEBUG(SQL_STORE, "not
deleted\n");
else
_DELETE(c);
} else
_DELETE(c);
}
- list_destroy(store->changes);
}
MT_lock_unset(&store->commit);
+ list_destroy(store->changes);
os_destroy(store->cat->objects, store);
os_destroy(store->cat->schemas, store);
_DELETE(store->cat);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list