[Xapian-commits] 16477: trunk/xapian-core/ trunk/xapian-core/backends/brass/ trunk/xapian-core/backends/chert/ trunk/xapian-core/tests/
olly
xapian-commits at lists.xapian.org
Wed Apr 4 03:26:03 BST 2012
SVN root: svn://svn.xapian.org/xapian
Changes by: olly
Revision: 16477
Date: 2012-04-04 03:26:03 +0100 (Wed, 04 Apr 2012)
Log message (6 lines):
backends/brass/brass_compact.cc,backends/chert/chert_compact.cc:
If the output database is empty, don't write a metainfo tag out.
Take care not to divide by zero when computing the percentage
size change for a table.
tests/api_compact.cc: Add new testcase compactempty1 to provide
regression tests.
Modified files:
U trunk/xapian-core/ChangeLog
U trunk/xapian-core/backends/brass/brass_compact.cc
U trunk/xapian-core/backends/chert/chert_compact.cc
U trunk/xapian-core/tests/api_compact.cc
Links:
http://xapian.org/C?16477
http://xapian.org/C?16477?trunk/xapian-core/ChangeLog
http://xapian.org/C?16477?trunk/xapian-core/backends/brass/brass_compact.cc
http://xapian.org/C?16477?trunk/xapian-core/backends/chert/chert_compact.cc
http://xapian.org/C?16477?trunk/xapian-core/tests/api_compact.cc
More information about the Xapian-commits
mailing list