[Xapian-tickets] [Xapian] #337: Extend test of behaviour of databases after close
Xapian
nobody at xapian.org
Wed Apr 4 15:55:17 BST 2018
#337: Extend test of behaviour of databases after close
--------------------------+------------------------------
Reporter: richard | Owner: gp1308
Type: defect | Status: new
Priority: low | Milestone: 1.4.x
Component: Test Suite | Version: SVN trunk
Severity: normal | Resolution:
Keywords: GoodFirstBug | Blocked By:
Blocking: | Operating System: All
--------------------------+------------------------------
Comment (by gp1308):
Observations on methods after db close -
commit() method: no op for local database types. Throws DatabaseError for
remote type.
begin_transaction(): In case of flushed, fails only remote due to commit()
method failure. For non-flushed, no op for all backends.
commit_transaction(): Fails with InvalidOpError for remote db type(for
flushed and non-flushed case).
This behavior seems to be as expected(compared to commnet 5).
--
Ticket URL: <https://trac.xapian.org/ticket/337#comment:13>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list