tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior
commit61c6d18924de106b4d6f6ecdf810ba815a896485
authorStefan Metzmacher <metze@samba.org>
Thu, 19 Nov 2009 08:34:05 +0000 (19 09:34 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 21 Dec 2009 09:55:14 +0000 (21 10:55 +0100)
tree5d5196708ef9587995f6c7231be1b9ad688faeea
parent0b43209493db4df6756c9a202f591847ad030e6c
tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior

We need to keep TDB_ALLOW_NESTING as default behavior,
so that existing code continues to work.

However we may change the default together with a major version
number change in future.

metze
(cherry picked from commit 3b9f19ed919fef2e88b2f92ae541e07bc7379cd1)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 1383e232cc7d20e64a04eb912d7d8a8ae5a5b5a9)
lib/tdb/common/open.c
lib/tdb/common/tdb.c
lib/tdb/common/transaction.c
lib/tdb/docs/README
lib/tdb/include/tdb.h