[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] WC DB verification triggers

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 25 May 2011 11:49:46 +0200

On Wed, May 25, 2011 at 10:12:42AM +0100, Julian Foad wrote:
> We can catch some WC DB inconsistencies as soon as they happen by adding
> SQLite "trigger" functions that fire on adding or modifying rows, and
> throw an error if some condition is not met. This is especially useful
> in the NODES table because of its complex rules.
> This patch is presented as a concept and not to apply as-is. It adds a
> couple of very simple checks, with which I caught the bug fixed in
> r1127069 and the test-bug fixed in r1127072.

I would very much be in favour of adding such checks by default
if svn is compiled in maintainer mode!
Received on 2011-05-25 11:50:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.