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

Re: svn commit: r35771 - in trunk/subversion: include/private libsvn_fs_fs libsvn_subr

From: Greg Stein <gstein_at_gmail.com>
Date: Mon, 9 Feb 2009 19:58:45 -0800

On Mon, Feb 9, 2009 at 12:52, Hyrum K. Wright <hyrum_at_hyrumwright.org> wrote:
>...
> +++ trunk/subversion/libsvn_fs_fs/fs_fs.c Mon Feb 9 12:52:35 2009 (r35771)
> @@ -5800,31 +5800,35 @@ commit_body(void *baton, apr_pool_t *poo
> return SVN_NO_ERROR;
> }
>
> -/* Wrapper around commit_body() which implements SQLite transactions. Arguments
> - the same as commit_body().
> +/* Baton for use with an sqlite transaction'd commit body. */
> +struct commit_sqlite_txn_baton
> +{
> + struct commit_baton *cb;
> + apr_pool_t *pool;
> +};

You could simplify quite a bit if you just put a pool into the
commit_baton structure.

>...

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1132049
Received on 2009-02-10 05:00:14 CET

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