Log Message: |
Commit a disabled simple hack to apply some verifications at the time we close
a wc.db file. This code identified some ACTUAL cleanup problems.
No functional changes (unless VERIFY_ON_CLOSE is defined in maintainer mode)
* subversion/libsvn_wc/wc-checks.sql
(STMT_STATIC_VERIFY): New statement.
* subversion/libsvn_wc/wc_db_wcroot.c
(includes): Add svn_pools.h
(VERIFY_ON_CLOSE): Document undefined macro.
(verify_sqlite): New function, disabled by VERIFY_ON_CLOSE.
(close_wcroot): Call verify_sqlite if defined, and when
SVN_CMDLINE_VERIFY_SQL_AT_CLOSE is set.
|