Explicitly close the rep-cache.db connection if we fail to run the preparatory work, e.g., after errors when creating the schema.
Explicitly close the rep-cache.db connection if we fail to run the
preparatory work, e.g., after errors when creating the schema.

An sqlite db connection is tricky enough, so don't keep it around waiting
for the cleanup of the fs->pool, if we are not going to use it at all.

* subversion/libsvn_fs_fs/rep-cache.c
  (SVN_ERR_CLOSE): New macro.
  (open_rep_cache): Wrap necessary statements with the new macro.


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

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