You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2010/09/16 13:41:52 UTC

svn commit: r997696 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

Author: philip
Date: Thu Sep 16 11:41:52 2010
New Revision: 997696

URL: http://svn.apache.org/viewvc?rev=997696&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (svn_wc__db_base_get_info): Don't reset statement twice for
   SVN_WC__NODES_ONLY.

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=997696&r1=997695&r2=997696&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Thu Sep 16 11:41:52 2010
@@ -2105,7 +2105,8 @@ svn_wc__db_base_get_info(svn_wc__db_stat
   have_row = have_node_row;
   stmt = stmt_nodes;
 #endif
-#endif
+
+#endif /* SVN_WC__NODES */
 
   if (have_row)
     {
@@ -2237,8 +2238,10 @@ svn_wc__db_base_get_info(svn_wc__db_stat
     }
 
 #ifdef SVN_WC__NODES
+#ifndef SVN_WC__NODES_ONLY
   SVN_ERR(svn_sqlite__reset(stmt_nodes));
 #endif
+#endif
 
   /* Note: given the composition, no need to wrap for tracing.  */
   return svn_error_compose_create(err, svn_sqlite__reset(stmt));