Ensure proper shutdown of cursors in errorful conditions.  Failure to close cursors can result in a wedged repository.  That's ... um ... bad.
Ensure proper shutdown of cursors in errorful conditions.  Failure to
close cursors can result in a wedged repository.  That's ... um ... bad.

* subversion/libsvn_fs/bdb/strings-table.c
  (locate_key): Always ensure that the cursor is closed, and add a docstring.
  (get_next_length): Only leave the cursor open if we aren't errorful,
    and add a docstring.



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

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