When walking the base tree during update for crawling and bumping, do a tiny
bit more work in the query that handles all children of a directory to avoid
doing things in the later per node change.

This patch removes at least one query per node within an update, but as this
query is evaluated within an existing transaction this is not really
measurable on small working copies.

A followup patch will remove a more expensive query per node.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_SELECT_BASE_CHILDREN_INFO): Duplicate query to optimize for the case
    where we don't need the lock join.

* subversion/libsvn_wc/wc_db.c
  (base_get_children_info): New function, extracted from...
  (svn_wc__db_base_get_children_info): which now just calls
    base_get_children_info.

  (bump_node_revision): Call base_get_children_info to get the list of children
    and information about them in a single query. Move the operations that
    only apply to children and not to the update/switch root to the child loop.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1537065 13f79535-47bb-0310-9956-ffa450edef68