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

RE: svn commit: r964704 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 16 Jul 2010 17:50:38 +0200

Doesn't _update handle this specific reset? If not I think it should.

Bert Huijben (mobile phone)

----- Oorspronkelijk bericht -----
Van: philip_at_apache.org
Verzonden: vrijdag 16 juli 2010 9:57
Aan: commits_at_subversion.apache.org
Onderwerp: svn commit: r964704 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

Author: philip
Date: Fri Jul 16 07:57:02 2010
New Revision: 964704

URL: http://svn.apache.org/viewvc?rev=964704&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (svn_wc__db_base_set_dav_cache): Reset stmt on error, this adds a
   missing parameter to svn_error_createf.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db.c

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=964704&r1=964703&r2=964704&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Fri Jul 16 07:57:02 2010
@@ -2158,6 +2158,7 @@ svn_wc__db_base_set_dav_cache(svn_wc__db
 
   if (affected_rows != 1)
     return svn_error_createf(SVN_ERR_WC_PATH_NOT_FOUND,
+ svn_sqlite__reset(stmt),
                              _("The node '%s' was not found."),
                              svn_dirent_local_style(local_abspath,
                                                     scratch_pool));
Received on 2010-07-16 17:52:57 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.