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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 06 Oct 2011 13:23:06 +1300

 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
Received on Thu Oct 06 2011 - 00:23:10 MDT

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