From 82ec1127881255526b09bfd9c8b352825375ee13 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Sat, 4 Oct 2008 15:53:19 +0000 Subject: [PATCH] Fixed overly specific assertion. --- src/stasis/page/fixed.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stasis/page/fixed.c b/src/stasis/page/fixed.c index c096938..9f3be96 100644 --- a/src/stasis/page/fixed.c +++ b/src/stasis/page/fixed.c @@ -21,8 +21,7 @@ void stasis_fixed_initialize_page(Page * page, size_t size, int count) { static void checkRid(Page * page, recordid rid) { assertlocked(page->rwlatch); - assert(*stasis_page_type_ptr(page) == FIXED_PAGE || - *stasis_page_type_ptr(page) == ARRAY_LIST_PAGE); + assert(*stasis_page_type_ptr(page)); // any more specific breaks pages based on this one assert(page->id == rid.page); assert(*recordsize_ptr(page) == rid.size); assert(stasis_fixed_records_per_page(rid.size) > rid.slot);