Add an index on the moved_to field in the NODES table to speed up move processing in the wc_db api.
Add an index on the moved_to field in the NODES table to speed up move
processing in the wc_db api.

The index will be added to new tables, and once we bump to format 30
(presumably before 1.8.0) we will add it to existing tables.

This resolves 3 slow statement cases in the wc-queries-tests, but I'm not sure
if just committing a change to wc-metadata.sql forces a query rebuild.

* subversion/libsvn_wc/wc-metadata.sql
  (STMT_CREATE_NODES): Update file external information.
     Add creation of I_NODES_MOVED index.
  (STMT_UPGRADE_TO_30): New statement with upgrade statement.


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

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion