[Xapian-tickets] [Xapian] #548: reopen should return flag indicating whether database has changed
Xapian
nobody at xapian.org
Mon Jun 13 10:32:07 BST 2011
#548: reopen should return flag indicating whether database has changed
-------------------------+--------------------------------------------------
Reporter: richard | Owner: richard
Type: enhancement | Status: new
Priority: normal | Milestone: 1.3.0
Component: Library API | Version: SVN trunk
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
-------------------------+--------------------------------------------------
Comment(by olly):
I've implemented this in trunk r15607.
It's untested so far, but currently the disk based backends should support
returning true/false as appropriate, remote always returns true, inmemory
doesn't have anything to reopen so always returns false. For multiple
databases, we return true if any of them returns true.
Still to do:
* Test cases
* Implement for the remote backend (needs a protocol change)
--
Ticket URL: <http://trac.xapian.org/ticket/548#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list