#419 closed enhancement (fixed)
WritableDatabase can't open stub with single db
Reported by: | Do | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.0 |
Component: | Backend-Remote | Version: | 1.0.17 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | All |
Description
I tried to open stub db with pointer to remote writable database via WritableDatabase, but it seems it tries to open flint/create dir, etc. Would be handy to let open stub for write (if there is single database of course).
d = Xapian::WritableDatabase.new("/usr/local/omega/data/remote", Xapian::DB_OPEN) IOError: DatabaseOpeningError: No flint database found at path `/usr/local/omega/data/remote'
Change History (1)
comment:1 by , 15 years ago
Milestone: | → 1.1.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is already fixed in 1.1.0 - search for stub in here:
http://trac.xapian.org/browser/tags/1.1.0/xapian-core/NEWS
It was part of a larger change to the database factory code, and I don't know of anyone currently planning to backport it to 1.0.x.