On Thu, 06 Oct 2011 00:35:47 +0100, Andrew Beverley wrote:
On Wed, 2011-10-05 at 23:41 +0100, Andrew Beverley wrote:
I have tried using the same functions on the modern API: this didn't
fix
the problem (probably because it is just running in compatibility
mode).
I then tried the modern API, but using the added features (DB_ENV).
This
*does* fix the problem.
So, I propose that the session helper is upgraded to both the new
API
and to use the DB_ENV functionality. I will write the patch. Any
objections?
Oh, I forgot to say: the DB_ENV functionality requires a *directory*
rather than a file to be specified for the database (it creates
several
files). So, although I don't see a problem with this in principle, it
does break backwards compatibility. Any thoughts? Just bite the
bullet?
Andy
Um. Maybe check for dir/file type on the -b value and use it as base
path?
Amos