Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#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 Olly Betts, 15 years ago

Milestone: 1.1.0
Resolution: fixed
Status: newclosed

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.

Last edited 12 years ago by Olly Betts (previous) (diff)
Note: See TracTickets for help on using tickets.