reassign 579951 xapian-core 1.0.20-1 found 579951 1.2.0-2 retitle 579951 xapian-core: modifying a table may cause iterators over it to repeat an entry tag 579951 pending thanks
OK, this is a bug introduced by a fix in Xapian 1.0.20. Patch for 1.0.20 attached. I'll upload 1.0.20-2 and 1.2.0-3 to fix this shortly. Cheers, Olly
Index: xapian-core/backends/flint/flint_cursor.cc =================================================================== --- xapian-core/backends/flint/flint_cursor.cc (revision 14487) +++ xapian-core/backends/flint/flint_cursor.cc (working copy) @@ -161,7 +161,11 @@ if (B->cursor_version != version) { // find_entry() will call rebuild(). (void)find_entry(current_key); - } else if (tag_status == UNREAD) { + // If the key was found, we're now pointing to it, otherwise we're + // pointing to the entry before. Either way, we now want to move to + // the next key. + } + if (tag_status == UNREAD) { while (true) { if (! B->next(C, 0)) { is_positioned = false;
signature.asc
Description: Digital signature