tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior
commit1383e232cc7d20e64a04eb912d7d8a8ae5a5b5a9
authorStefan Metzmacher <metze@samba.org>
Thu, 19 Nov 2009 08:34:05 +0000 (19 09:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Sun, 20 Dec 2009 15:10:39 +0000 (20 16:10 +0100)
treee4b7314ea09b5da68e1ce0bd7d29356980dab84d
parente6669e7f563f7be27ecb9872ea3ef148236dea3c
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>
lib/tdb/common/open.c
lib/tdb/common/tdb.c
lib/tdb/common/transaction.c
lib/tdb/docs/README
lib/tdb/include/tdb.h