tdb_compat: honour hashsize arg when using tdb2 with TDB_VERSION1 flag.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Sep 2011 03:27:59 +0000 (12:57 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Sep 2011 03:27:59 +0000 (12:57 +0930)
commitf08b323a88658c3e52adce4fa346bc03274e2c36
tree473cac958b59d537408476d477211cb18dbf29ba
parent10e6a3282098b3d4d94e72fa27f47825ef4e7f15
tdb_compat: honour hashsize arg when using tdb2 with TDB_VERSION1 flag.

We use the TDB_ATTRIBUTE_TDB1_HASHSIZE to set the hash size.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb_compat/tdb_compat.c
lib/tdb_compat/tdb_compat.h