Use one db operation instead of a few when looking whether to set read-only and executable.
Use one db operation instead of a few when looking whether to set read-only
and executable.

* subversion/libsvn_wc/translate.c
  (svn_wc__maybe_set_executable,
   svn_wc__maybe_set_read_only): Use svn_wc__db_read_node_install_info
     instead of multiple db operations to determine the state for these
     attributes.


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

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