tdb: add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior
authorStefan Metzmacher <metze@samba.org>
Thu, 19 Nov 2009 08:34:05 +0000 (09:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 16 Dec 2009 07:03:54 +0000 (08:03 +0100)
commitc1c0ede32dc00ed619d1cf5fda40a9de43995f3a
tree27b7827e0d2fc74660ede5d6226dd64548889d9d
parent855391c1e37012b0d6c673a304bb8da8a1efcd72
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 samba 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