[Xapian-tickets] [Xapian] #284: occasional DatabaseModifiedErrors
Xapian
nobody at xapian.org
Fri Jun 5 21:59:51 BST 2009
#284: occasional DatabaseModifiedErrors
---------------------------+------------------------------------------------
Reporter: mrks | Owner: olly
Type: defect | Status: reopened
Priority: normal | Milestone: 1.0.12
Component: Backend-Flint | Version: 1.0.11
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
---------------------------+------------------------------------------------
Changes (by mrks):
* status: closed => reopened
* resolution: fixed =>
Comment:
I think there is at least one try/catch block missing (I rarely still get
uncatched DatabaseModifiedErrors), namely around Document::get_data() in
XS/Document.xs
{{{
string
Document::get_data()
CODE:
try {
RETVAL = THIS->get_data();
} catch (const Error &error) {
croak( "Exception: %s", error.get_msg().c_str() );
}
OUTPUT:
RETVAL
}}}
Could you please include it within the next version?
--
Ticket URL: <http://trac.xapian.org/ticket/284#comment:19>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list