summaryrefslogtreecommitdiff
path: root/source3/lib/tdb/include
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-27 09:22:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:50 -0500
commitd5daef32b226b373185f4f18298a2872cd9a7784 (patch)
treef4bb13ed0a389fd32b7df26261f99a6a63a213b6 /source3/lib/tdb/include
parenta32d8a39097c7de3f1b90a8b59434710b03776ff (diff)
downloadsamba-d5daef32b226b373185f4f18298a2872cd9a7784.tar.gz
samba-d5daef32b226b373185f4f18298a2872cd9a7784.tar.bz2
samba-d5daef32b226b373185f4f18298a2872cd9a7784.zip
r23161: Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record
optimization. (This used to be commit 945f73fa39ba6f2b637379ac20d52b4d0306d77f)
Diffstat (limited to 'source3/lib/tdb/include')
-rw-r--r--source3/lib/tdb/include/tdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/tdb/include/tdb.h b/source3/lib/tdb/include/tdb.h
index dafe2a130e..3268a3bfa0 100644
--- a/source3/lib/tdb/include/tdb.h
+++ b/source3/lib/tdb/include/tdb.h
@@ -47,6 +47,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)