[Xapian-devel] Re: [Xapian-commits]7990:
trunk/xapian-core/trunk/xapian-core/bin/trunk/xapian-core/tests/harness/
Olly Betts
olly at survex.com
Mon Apr 2 08:27:53 BST 2007
On Mon, Apr 02, 2007 at 05:54:19AM +0100, Olly Betts wrote:
> Looking at emptyquery1, it actually does open the same database twice,
> but not with overlapping lifetimes (and not intentionally).
Actually, I'm wrong here - the lifetimes do overlap because we have two
MSet objects which each hold a reference to the Database object they
came from (so that they can return MSet entries).
So this is a problem.
I eliminate the most needless multiple openings and added a rotating
cycle through 10 port numbers and now all of apitest passes except
for those related to the "prog" variant of the remote backend!
I'll check the changes in shortly.
Cheers,
Olly
More information about the Xapian-devel
mailing list