Changeset: 6653cdc607a7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6653cdc607a7
Modified Files:
        sql/storage/objectset.c
Branch: nospare
Log Message:

make sure we don't return deleted objects


diffs (21 lines):

diff --git a/sql/storage/objectset.c b/sql/storage/objectset.c
--- a/sql/storage/objectset.c
+++ b/sql/storage/objectset.c
@@ -948,7 +948,7 @@ oi_next(struct os_iter *oi)
                                e = oi->e = e->chain;
 
                                ov = get_valid_object_name(oi->tr, ov);
-                               if (ov)
+                               if (ov && !ov->deleted)
                                        b = ov->obj;
                        } else {
                                e = e->chain;
@@ -962,7 +962,7 @@ oi_next(struct os_iter *oi)
                        n = oi->n = n->next;
 
                        ov = get_valid_object_id(oi->tr, ov);
-                       if (ov)
+                       if (ov && !ov->deleted)
                                b = ov->obj;
                }
        }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to