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

Re: WC database corruption (1.7.1)

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 15 Nov 2011 17:39:56 +0000

Neil Bird <neil_at_jibbyjobby.co.uk> writes:

>> Copy NODES_COPY into NODES:
>> sqlite3 .svn/wc.db "insert into NODES select * from NODES_COPY"
>
> Oops. “Error: database disk image is malformed”.
>
> Which is a bit odd, since we copied NODES to NODES_COPY OK, and have
> since re-created NODES!

Odd indeed. Some sort of lazy, copy-on-write copy perhaps? I think
that means that the corruption extends beyond the indices into the nodes
table, and that makes it very hard to recover.

-- 
Philip
Received on 2011-11-15 18:40:35 CET

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

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