/[Apache-SVN]
ViewVC logotype

Revision 1660425


Jump to revision: Previous Next
Author: rhuijben
Date: Tue Feb 17 15:42:58 2015 UTC (9 years, 2 months ago)
Changed paths: 2
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.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_wc/wc-checks.sql modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26