Re: [RFC] New macro SVN_WC__DB_WITH_TXN(my_func_call(...)) doesn't need a baton
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 18 Dec 2012 16:26:47 +0000 (GMT)
I (Julian Foad) wrote:
> The "call a function within a transaction" paradigm is used heavily in
I will point out that there are also some places where the current use of a baton still makes sense, notably for these three functions:
insert_base_node()
where the baton contains a set of logically related information about the node rather than things that would make sense to be function parameters. Using the new macro for these while keeping the baton will enable type checking of the baton type but nothing major.
> What does anybody think of introducing this form, in principle and in practice?
If there are no objections in a day or so, I'll finish the patch and commit it.
- Julian
|
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.