17998: trunk/xapian-core/ trunk/xapian-core/backends/brass/ trunk/xapian-core/tests/

olly <[email protected]>
Newsgroups gmane.comp.search.xapian.cvs
Message-ID <[email protected]>
SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       17998
Date:           2014-05-19 01:12:23 +0100 (Mon, 19 May 2014)

Log message (7 lines):
backends/brass/brass_freelist.cc,tests/api_backend.cc: When we start
to write a new freelist block, set the revision on the old one we
write out correctly, and don't "-1" out the next block pointer
before we write out the block in this case.  New regression testcase
newfreelistblock1.
backends/brass/brass_freelist.cc: Add assertions that the freelist
block has a next pointer when fl_end is a different block to fl.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/backends/brass/brass_freelist.cc
U   trunk/xapian-core/tests/api_backend.cc

Links:
http://xapian.org/C?17998
http://xapian.org/C?17998?trunk/xapian-core/ChangeLog
http://xapian.org/C?17998?trunk/xapian-core/backends/brass/brass_freelist.cc
http://xapian.org/C?17998?trunk/xapian-core/tests/api_backend.cc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.