* subversion/libsvn_wc/wc_db.c   (is_wclocked): Following up on r1342217, remove the assumption that the     first match will be the only match as this is no longer true.     But it is cheaper to check all matches, then to make Sqlite copy all     data for sorting and then check the result. Especially when you have     not that many locks in your working copy.
* subversion/libsvn_wc/wc_db.c
  (is_wclocked): Following up on r1342217, remove the assumption that the
    first match will be the only match as this is no longer true.
    But it is cheaper to check all matches, then to make Sqlite copy all
    data for sorting and then check the result. Especially when you have
    not that many locks in your working copy.

Found by the entries_compat tests (but missed by me until after I clicked
commit)


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

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