r21722: Add the dead record functionality presented on samba-technical@samba.org. If
authorVolker Lendecke <vlendec@samba.org>
Tue, 6 Mar 2007 10:11:15 +0000 (10:11 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:25 +0000 (12:18 -0500)
commit59285f16d6428477b3a065fdf52098af1d62f606
treec3683305e856c527b2aa08d00b2ef1963a51a538
parentba992d5ad7bc2e32b2b458d8d91ca450e97513c3
r21722: Add the dead record functionality presented on samba-technical@samba.org. If
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.

Volker
(This used to be commit 97af3a019b196d530a50ffc05c57568e2dbda4bb)
source3/tdb/common/open.c
source3/tdb/common/tdb.c
source3/tdb/common/tdb_private.h
source3/tdb/include/tdb.h