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

Re: svn commit: r1089257 - in /subversion/trunk/subversion/libsvn_wc: adm_ops.c wc-queries.sql wc_db.c wc_db.h

From: Hyrum K Wright <hyrum_at_hyrumwright.org>
Date: Wed, 6 Apr 2011 11:44:47 -0500

On Wed, Apr 6, 2011 at 7:58 AM, Greg Stein <gstein_at_gmail.com> wrote:
>...
>>...
>> +++ subversion/trunk/subversion/libsvn_wc/wc_db.c Tue Apr  5 21:53:47 2011
>>...
>>  svn_error_t *
>> +svn_wc__db_changelist_list_notify(svn_wc_notify_func2_t notify_func,
>> +                                  void *notify_baton,
>> +                                  svn_wc__db_t *db,
>> +                                  const char *local_abspath,
>> +                                  apr_pool_t *scratch_pool)
>> +{
>
> Should the contents of this function be transacted?

Not needed: the contents of the temporary table are only visible to
the database connection that created them (and the table itself will
automatically disappear when the connection is closed). As a result,
no other connection or thread could interact with this table while
this function is running.

-Hyrum
Received on 2011-04-06 18:45:22 CEST

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.