Fix a couple of switch tests which were broken by r37926.
Fix a couple of switch tests which were broken by r37926.

* subversion/libsvn_wc/wc_db.c
  (statements.STMT_SELECT_REPOSITORY): Also select the repository root.
  (create_repos_id): Look at all the rows which match a given UUID, not just
    the first one.


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

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