Neil Bird <n...@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

Reply via email to