diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-21 12:55:59 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-21 12:55:59 +0930 |
commit | 36b455d95227f8ef2f08e3134e289b2862b319f9 (patch) | |
tree | d08bc2518bb12e9e38dac8d81dd74430c0441cd6 /lib/tdb_compat/tdb_compat.h | |
parent | ad3ac7e3c0bdf9b93c6b831f29452fd63fe0818b (diff) | |
download | samba-36b455d95227f8ef2f08e3134e289b2862b319f9.tar.gz samba-36b455d95227f8ef2f08e3134e289b2862b319f9.tar.bz2 samba-36b455d95227f8ef2f08e3134e289b2862b319f9.zip |
tdb_compat: handle TDB_INCOMPATIBLE_HASH flag.
This is only meaningful when using the TDB_VERSION1 flag: it is done
by using a magic hash value (which will fall back to the default hash
if that works instead).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb_compat/tdb_compat.h')
-rw-r--r-- | lib/tdb_compat/tdb_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb_compat/tdb_compat.h b/lib/tdb_compat/tdb_compat.h index 1f7e8a9c63..4a01c15fdb 100644 --- a/lib/tdb_compat/tdb_compat.h +++ b/lib/tdb_compat/tdb_compat.h @@ -82,7 +82,7 @@ int tdb_reopen_all(int parent_longlived); /* These no longer exist in tdb2. */ #define TDB_CLEAR_IF_FIRST 1048576 -#define TDB_INCOMPATIBLE_HASH 0 +#define TDB_INCOMPATIBLE_HASH 2097152 #define TDB_VOLATILE 0 /* tdb2 does nonblocking functions via attibutes. */ |