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

Re: [PATCH] Support both BDB 4.0 and 4.1

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-24 02:42:05 CEST

Branko ÄŒibej <brane@xbc.nu> writes:

> > Aha! That's an APR bug, then. It's not passing DB_INIT_TXN to
> > DB_:ENV->open; compare with libsvn_fs/fs.c:494. In fact, APR doesn't
> > seem to be opening an environment at all, si I suspect it shouldn't
> > be using DB_AUTO_COMMIT. Well, duh.
>
> >
> Philip, could you try this patch?
>
> Index: apr_dbm_berkeleydb.c
> ===================================================================
> RCS file: /home/cvs/apr-util/dbm/apr_dbm_berkeleydb.c,v
> retrieving revision 1.20
> diff -u -r1.20 apr_dbm_berkeleydb.c
> --- apr_dbm_berkeleydb.c 4 Oct 2002 04:25:12 -0000 1.20
> +++ apr_dbm_berkeleydb.c 24 Oct 2002 00:00:31 -0000

That seems to do the trick. I've run basic_tests.py and
commit_tests.py, I still see failures, but only those that also fail
with BDB 4.0 (I already reported these, it looks like an
svn_stringbuf_t versus svn_string_t problem).

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 24 02:42:47 2002

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.