Re: svn commit: r1079070 - /subversion/trunk/subversion/libsvn_subr/sqlite.c
On Tue, Mar 8, 2011 at 12:43 PM, Greg Stein <gstein_at_gmail.com> wrote:
> On Mon, Mar 7, 2011 at 20:33, <hwright_at_apache.org> wrote:
>> Author: hwright
>> Date: Tue Mar 8 01:33:03 2011
>> New Revision: 1079070
>> URL: http://svn.apache.org/viewvc?rev=1079070&view=rev
>> If we encounter an error while in an SQLite savepoint, back out the work
>> before returning. This mirrors the behavior as seen in an SQLite transaction.
> And it copies the code. How about factoring out "reset all statements" ?
It's really a small snippet, and I usually defer factoring stuff out
until it is thrice repeated, but I'll make an exception here for you.
Received on 2011-03-08 21:57:20 CET
This is an archived mail posted to the Subversion Dev