Changeset: 94bd88d5484e for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=94bd88d5484e Branch: nospare Log Message:
merged diffs (51 lines): diff --git a/sql/storage/objectset.c b/sql/storage/objectset.c --- a/sql/storage/objectset.c +++ b/sql/storage/objectset.c @@ -12,13 +12,7 @@ #include "gdk_atoms.h" - -/* TODO - * implement new double linked list - * keep hash/map of names -> objectversion - */ - -struct versionhead ;// TODO: rename to object_version_chain +struct versionhead ; #define active (0) #define id_based_rollbacked (1) @@ -109,7 +103,6 @@ find_id(objectset *os, sqlid id) return NULL; } MT_lock_unset(&os->ht_lock); - // TODO: can we actually reach this point? for (versionhead *n = os->id_based_h; n; n = n->next) { objectversion *ov = n->ov; @@ -145,7 +138,7 @@ node_destroy(objectset *os, sqlstore *st { if (!os->sa) _DELETE(n); - (void)store; /* todo destroy b */ + (void)store; } static versionhead * @@ -663,7 +656,6 @@ find_name(objectset *os, const char *nam return NULL; } MT_lock_unset(&os->ht_lock); - // TODO: can we actually reach this point? for (versionhead *n = os->name_based_h; n; n = n->next) { objectversion *ov = n->ov; @@ -676,7 +668,6 @@ find_name(objectset *os, const char *nam return NULL; } - static objectversion* get_valid_object_name(sql_trans *tr, objectversion *ov) { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list