Disables fsckSlottedPage() by default.

This commit is contained in:
Sears Russell 2006-08-10 23:59:13 +00:00
parent 7ba91533fe
commit 73436d0d6c

View file

@ -9,7 +9,7 @@ static void really_do_ralloc(Page * page, recordid rid) ;
size_t slottedFreespaceForSlot(Page * page, int slot);
void fsckSlottedPage(const Page const * page) {
#ifndef SLOTTED_PAGE_SKIP_SANITY_CHECKS
#ifdef SLOTTED_PAGE_SANITY_CHECKS
Page dummy;
dummy.id = -1;
@ -116,10 +116,13 @@ void fsckSlottedPage(const Page const * page) {
}
}
#endif // SLOTTED_PAGE_CHECK_FOR_OVERLAP
#endif // SLOTTED_PAGE_SKIP_SANITY_CHECKS
#endif // SLOTTED_PAGE_SANITY_CHECKS
}
#ifndef SLOTTED_PAGE_SANITY_CHECKS
#define fsckSlottedPage(x) ((void)0)
#endif
/**