diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-21 12:56:59 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-21 12:56:59 +0930 |
commit | 10e6a3282098b3d4d94e72fa27f47825ef4e7f15 (patch) | |
tree | dd3241223613b323ea28231258caa0776032bb50 /lib/tdb_compat/tdb_compat.h | |
parent | 36b455d95227f8ef2f08e3134e289b2862b319f9 (diff) | |
download | samba-10e6a3282098b3d4d94e72fa27f47825ef4e7f15.tar.gz samba-10e6a3282098b3d4d94e72fa27f47825ef4e7f15.tar.xz samba-10e6a3282098b3d4d94e72fa27f47825ef4e7f15.zip |
tdb_compat: handle TDB_VOLATILE flag.
This is only meaningful when using the TDB_VERSION1 flag: we set the
attribute to control the maximum number of dead records (to 5, which is
what TDB_VOLATILE did for tdb1).
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 4a01c15fdbd..cc120bbcb65 100644 --- a/lib/tdb_compat/tdb_compat.h +++ b/lib/tdb_compat/tdb_compat.h @@ -83,7 +83,7 @@ int tdb_reopen_all(int parent_longlived); /* These no longer exist in tdb2. */ #define TDB_CLEAR_IF_FIRST 1048576 #define TDB_INCOMPATIBLE_HASH 2097152 -#define TDB_VOLATILE 0 +#define TDB_VOLATILE 4194304 /* tdb2 does nonblocking functions via attibutes. */ enum TDB_ERROR tdb_transaction_start_nonblock(struct tdb_context *tdb); |