INN and DB 4.5

Bill Davidsen davidsen at tmr.com
Sat May 5 17:20:17 UTC 2007


The Doctor wrote:
> On Fri, May 04, 2007 at 04:26:59PM -0700, Russ Allbery wrote:
>   
>> The Doctor <doctor at doctor.nl2k.ab.ca> writes:
>>
>>     
>>> Just tested out 4.5.20 with OVDB and only one tweak is needed.
>>> IS anyone interested?
>>>       
>> Yes.  I don't have a lot of time, but I'm definitely interested.
>>
>>     
>
> Russ you are going to have to change storage/ovdb/ovdb.c
>
> in this convulted way:
>
> I believe you need to change line 1529 so that 
>
> OVDBenv->set_lk_max(OVDBenv, ovdb_conf.maxlocks);
>
> Should change to
>
> #if DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR ==5
> 	OVDBenv->set_lk_max_locks(OVDBenv, ovdb_conf.maxlocks);
> #else
> 	OVDBenv->set_lk_max(OVDBenv, ovdb_conf.maxlocks);
> #endif
>
>   
#if DB_VERSION_MAJOR > 4 || ($DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 4)


-- 
bill davidsen <davidsen at tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979



More information about the inn-workers mailing list