Ticket #415 (closed defect: fixed)
get_document() on an empty database raises floating point exception
| Reported by: | richard | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.18 |
| Component: | Library API | Version: | SVN trunk |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description
By empty, I mean a Database object uninitialised with any concrete databases.
Example code in python:
import xapian db=xapian.Database() db.get_document (1)
I would expect a DocNotFound? exception.
Change History
Note: See
TracTickets for help on using
tickets.
