[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: FW: Berkeley DB 4.0 release

From: Mark Benedetto King <bking_at_answerfriend.com>
Date: 2001-12-05 22:49:30 CET

> > had a chance to look at it yet wrt compatibility issues with svn?
>
> I have built subversion against db-4.0.14. I used the following patch,
> which removes support for db-3.3.11. Other than the version number,
> the change that affects subversion is the txn_XXX to DB_TXN->txn_XXX
> change, and since most of these provide a compatibility function, the
> minimal change is just txn_checkpoint.

Can we hide this in a macro? Something like

#if SVN_FS_WANT_DB_MAJOR > 3
#define BDB_TXN_CHECKPOINT(e,x,y,z) (e)->txn_checkpoint(e,x,y,z)
#else
#define BDB_TXN_CHECKPOINT(e,x,y,z) txn_checkpoint(e,x,y,z)
#endif

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.