Ticket #40: betterdebug.patch
| File betterdebug.patch, 0.6 kB (added by olly, 21 months ago) |
|---|
-
backends/multi/multi_postlist.cc
117 117 MultiPostList::get_doclength() const 118 118 { 119 119 DEBUGCALL(DB, Xapian::doclength, "MultiPostList::get_doclength", ""); 120 Assert(!at_end()); 121 Assert(currdoc != 0); 120 122 Xapian::doclength result = postlists[(currdoc - 1) % multiplier]->get_doclength(); 121 Assert Paranoid(result ==this_db.get_doclength(get_docid()));123 AssertEq(result, this_db.get_doclength(get_docid())); 122 124 RETURN(result); 123 125 } 124 126
