Don't overwrite tdbs with different version numbers.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 5 Aug 2009 01:36:58 +0000 (11:06 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 5 Aug 2009 01:36:58 +0000 (11:06 +0930)
commit23dbdf06c4521b11f7eb0f341af987d8fd92474c
tree3bc3e272fe1c4fcb04388e187a4523150f6aa858
parent67aef98e2e4409b69ba668a2a4a9f0757ddc7ca7
Don't overwrite tdbs with different version numbers.
In future, this may happen, and we don't want to clobber them.
ccan/tdb/open.c
ccan/tdb/test/run-bad-tdb-header.c [new file with mode: 0644]