]> git.ozlabs.org Git - ccan/commitdiff
tdb: automatically identify Jenkins hash tdbs
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Sep 2010 04:59:42 +0000 (14:29 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Sep 2010 04:59:42 +0000 (14:29 +0930)
If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash
doesn't match, try tdb_jenkins_hash.

This makes life simpler, especially with the upcoming TDB_INCOMPATIBLE_HASH
flag.


No differences found