Re: [PATCH] Re: Adding a reset option to the session helper

From: Andrew Beverley <andy_at_andybev.com>
Date: Thu, 06 Oct 2011 22:54:16 +0100

On Thu, 2011-10-06 at 13:23 +1300, Amos Jeffries wrote:
> > 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?
>

Or even better check for dir/file type and then either use legacy mode
(just a database file, but with the modern DB API) or DB_ENV mode (a
directory with several files).

Or is that what you meant anyway?

Andy
Received on Thu Oct 06 2011 - 21:54:25 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 07 2011 - 12:00:04 MDT