INN and DB 4.5

The Doctor doctor at doctor.nl2k.ab.ca
Sat May 5 12:40:46 UTC 2007


On Sat, May 05, 2007 at 09:29:11AM +0200, Toon van der Pas wrote:
> On Fri, May 04, 2007 at 06:28:04PM -0600, The Doctor wrote:
> > On Fri, May 04, 2007 at 05:47:10PM -0600, 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
> >                                ^^^^^^^^^^^^^^^^^^^^
> > 
> > This should be DB_VERSION_MINOR == 4
> > > 	OVDBenv->set_lk_max_locks(OVDBenv, ovdb_conf.maxlocks);
> > > #else
> > > 	OVDBenv->set_lk_max(OVDBenv, ovdb_conf.maxlocks);
> > > #endif
> 
> Hi Doctor,
> 
> Excuse my ignorance. Are you sure it is correct now?
> 
> 1. This patch is about db-4.5 right?
>    Shouldn't the check then be the other way 'round, like this?
> 
>    #if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 5
>

Thakn you.
 
> 2. This check matches only ONE specific version.
>    What happens when DB is upgraded one minor version?

I know this is sub 20 .  Russ please remind us
what we need to do?

> 
> Regards,
> Toon (happy to see that there are still people active on this list)
> -- 
> "I never set out to be weird,
>  it was always other people who called me weird."
>                                         -- 1986 Frank Zappa
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
Member - Liberal International	
This is doctor at nl2k.ab.ca	Ici doctor at nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
Manitoba!! On 22 May Get rid of the extremists and VOTE LIBERAL!

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the inn-workers mailing list