[Xapian-commits] 11836: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/tests/

richard xapian-commits at lists.xapian.org
Fri Feb 13 20:10:55 GMT 2009


SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11836
Date:           2009-02-13 20:10:55 +0000 (Fri, 13 Feb 2009)

Log message (8 lines):
api/postingsource.cc: Fix segfaults which occur if an empty
ValuePostingSource subclass has the skip_to() or check() methods
called on it first.
tests/api_db.cc tests/api_valuestream.cc: Move valuemapsource1 to
api_valuestream.cc, since that seems like a better place (and
api_db.cc is already rather over-large).  Add regression test
"valuemapsource2" to check the behaviour of ValuePostingSource
subclasses on empty lists.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/postingsource.cc
U   trunk/xapian-core/tests/api_db.cc
U   trunk/xapian-core/tests/api_valuestream.cc

Links:
http://xapian.org/C?11836
http://xapian.org/C?11836?trunk/xapian-core/ChangeLog
http://xapian.org/C?11836?trunk/xapian-core/api/postingsource.cc
http://xapian.org/C?11836?trunk/xapian-core/tests/api_db.cc
http://xapian.org/C?11836?trunk/xapian-core/tests/api_valuestream.cc



More information about the Xapian-commits mailing list