From c94cba5b7bb0c1cc2cfb0eebc8efe0250de29e0a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 20 Jul 2007 14:52:47 +0000 Subject: r23978: Merge r23161 from Samba3: Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record optimization. (This used to be commit 868cdb1781fe94afbc1658e72bf06de20193bcd7) --- source4/lib/tdb/include/tdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/lib/tdb/include/tdb.h') diff --git a/source4/lib/tdb/include/tdb.h b/source4/lib/tdb/include/tdb.h index fb59911ebe..f3a0dbe7bf 100644 --- a/source4/lib/tdb/include/tdb.h +++ b/source4/lib/tdb/include/tdb.h @@ -46,6 +46,7 @@ extern "C" { #define TDB_BIGENDIAN 32 /* header is big-endian (internal use) */ #define TDB_NOSYNC 64 /* don't use synchronous transactions */ #define TDB_SEQNUM 128 /* maintain a sequence number */ +#define TDB_VOLATILE 256 /* Activate the per-hashchain freelist, default 5 */ #define TDB_ERRCODE(code, ret) ((tdb->ecode = (code)), ret) -- cgit