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


Reply via email to