From a639d461b884f3db7779420bcb31fb7f4afe4fc7 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Mon, 27 Oct 2008 23:32:45 +0000 Subject: [PATCH] fail a bit earlier on error --- stasis/operations/lsmIterators.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stasis/operations/lsmIterators.h b/stasis/operations/lsmIterators.h index bcf5116..63c4d0b 100644 --- a/stasis/operations/lsmIterators.h +++ b/stasis/operations/lsmIterators.h @@ -240,6 +240,7 @@ class treeIterator { pageid_ = *pid_tmp; p_ = loadPage(-1,pageid_); currentPage_ = (PAGELAYOUT*)p_->impl; + assert(currentPage_); } } public: