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/29 17:23:02 UTC

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

Author: philip
Date: Wed Sep 29 15:23:02 2010
New Revision: 1002677

URL: http://svn.apache.org/viewvc?rev=1002677&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (union_children): Don't access BASE_NODE/WORKING_NODE if 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=1002677&r1=1002676&r2=1002677&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Wed Sep 29 15:23:02 2010
@@ -1306,10 +1306,12 @@ union_children(const apr_array_header_t 
   apr_array_header_t *names_array;
 
   /* All of the names get allocated in RESULT_POOL.  */
+#ifndef SVN_WC__NODES_ONLY
   SVN_ERR(add_children_to_hash(names, STMT_SELECT_BASE_NODE_CHILDREN,
                                sdb, wc_id, parent_relpath, result_pool));
   SVN_ERR(add_children_to_hash(names, STMT_SELECT_WORKING_NODE_CHILDREN,
                                sdb, wc_id, parent_relpath, result_pool));
+#endif
 #ifdef SVN_WC__NODES
   SVN_ERR(add_children_to_hash(names_nodes, STMT_SELECT_BASE_NODE_CHILDREN_1,
                                sdb, wc_id, parent_relpath, result_pool));