Ticket #143: flint_alltermslist_robustness.patch
File flint_alltermslist_robustness.patch, 634 bytes (added by , 18 years ago) |
---|
-
backends/flint/flint_alltermslist.h
78 78 if (approx_size) --approx_size; 79 79 80 80 // Seek to the metainfo key, so the first next will advance us to the 81 // first real key. 81 // first real key. "\x00\xff" is the first potentially valid key for a 82 // posting entry. 82 83 cursor = pltab->cursor_get(); 83 cursor->find_entry(string("", 1)); 84 if (cursor->find_entry(string("\x00\xff", 2))) 85 cursor->prev(); 84 86 } 85 87 86 88 /// Destructor.