Update STMT_SELECT_WORKING_CHILDREN to not use the NODES_CURRENT view, as SQLite creates a complete temporary table for that view before processing the rest of the query. This reduces the time spend on 'svn ci' to about 10% of what it was before this patch.
Update STMT_SELECT_WORKING_CHILDREN to not use the NODES_CURRENT view, as
SQLite creates a complete temporary table for that view before processing
the rest of the query. This reduces the time spend on 'svn ci' to about 10%
of what it was before this patch.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_SELECT_WORKING_CHILDREN): Don't use NODES_CURRENT when we can avoid
    that.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1084145 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion