fail a bit earlier on error

This commit is contained in:
Sears Russell 2008-10-27 23:32:45 +00:00
parent c7ba4dfb62
commit a639d461b8

View file

@ -240,6 +240,7 @@ class treeIterator {
pageid_ = *pid_tmp; pageid_ = *pid_tmp;
p_ = loadPage(-1,pageid_); p_ = loadPage(-1,pageid_);
currentPage_ = (PAGELAYOUT*)p_->impl; currentPage_ = (PAGELAYOUT*)p_->impl;
assert(currentPage_);
} }
} }
public: public: