From 86fab6a22bbdc3325d236700bc9553f035a8574e Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Sat, 22 Jul 2006 00:05:40 +0000 Subject: [PATCH] Turn on paranoid slotted page consistency checks for long running tests. --- src/lladd/page/slotted.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lladd/page/slotted.h b/src/lladd/page/slotted.h index fb385c7..5426fae 100644 --- a/src/lladd/page/slotted.h +++ b/src/lladd/page/slotted.h @@ -65,7 +65,11 @@ Slotted page layout: #define SLOTTED_PAGE_HEADER_OVERHEAD (3 * sizeof(short)) //#define SLOTTED_PAGE_CHECK_FOR_OVERLAP 1 -#define SLOTTED_PAGE_SKIP_SANITY_CHECKS 1 +//#define SLOTTED_PAGE_SKIP_SANITY_CHECKS 1 + +#ifdef LONG_TEST +#define SLOTTED_PAGE_CHECK_FOR_OVERLAP 1 +#endif void slottedWrite(int xid, Page * page, lsn_t lsn, recordid rid, const byte *data); void slottedRead(int xid, Page * page, recordid rid, byte *buff);