[Xapian-commits] 11484: branches/1.0/xapian-core/ branches/1.0/xapian-core/matcher/ branches/1.0/xapian-core/tests/

olly xapian-commits at lists.xapian.org
Tue Oct 7 02:29:43 BST 2008

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11484
Date:           2008-10-07 02:29:43 +0100 (Tue, 07 Oct 2008)

Log message (12 lines):
Backport changes from trunk:
matcher/queryoptimiser.cc,tests/api_anydb.cc: Apply fix for
platforms with excess precision - this fixes a potential segfault
on x86 architecture when doing OP_ELITE_SET queries.  Also, add a
regression test.
matcher/queryoptimiser.cc: Change the excess precision fix to pass
both values through "volatile double" rather than "float" on
platforms where this matters since the former gives better generated
code as well as more consistent results with other platforms.
matcher/queryoptimiser.cc: Rewrite comment explaining the excess
precision fix.  Drop unnecessary brackets from return to minimise
the diff.

Modified files:
U   branches/1.0/xapian-core/ChangeLog
U   branches/1.0/xapian-core/matcher/queryoptimiser.cc
U   branches/1.0/xapian-core/tests/api_anydb.cc


More information about the Xapian-commits mailing list