1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/lib/tdb2
Rusty Russell 6b11c9119f tdb2: don't be fascist when TDB_VERSION1 is specified.
We currently insist that a tdb file be a version1 file if tdb_open() is
passed the TDB_VERSION1 flag; we fail if it's actually a tdb2.

But that makes generic wrappers harder, and is unlikely to be what the
user wants: if they do, they can check tdb_get_flags() & TDB_VERSION1
after opening.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 9691464a16ef22d6acadfef209666381dfe22b2f)

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Wed Nov  2 08:38:38 CET 2011 on sn-devel-104
2011-11-02 08:38:38 +01:00
..
doc tdb2: enhance tdb1 porting document. 2011-09-14 08:13:27 +09:30
test tdb2: don't be fascist when TDB_VERSION1 is specified. 2011-11-02 08:38:38 +01:00
tools tdb2: Hand error code to logging function. 2011-09-14 07:12:13 +09:30
_info tdb2: add lib/tdb2 (from CCAN init-1161-g661d41f) 2011-06-20 11:18:35 +02:00
check.c tdb2: fix prototypes which return enum TDB_ERROR. 2011-09-14 08:13:28 +09:30
free.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
hash.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
io.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
LICENSE tdb2: add lib/tdb2 (from CCAN init-1161-g661d41f) 2011-06-20 11:18:35 +02:00
lock.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
open.c tdb2: don't be fascist when TDB_VERSION1 is specified. 2011-11-02 08:38:38 +01:00
private.h tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_. 2011-11-01 03:19:58 +01:00
pytdb.c tdb2: fix return handling in pytdb wrapper. 2011-09-14 08:13:27 +09:30
summary.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
tdb1_check.c tdb2: log allocation failures in tdb1 backend. 2011-09-14 08:13:26 +09:30
tdb1_freelist.c tdb2: add stats to tdb1 backend. 2011-09-14 08:10:13 +09:30
tdb1_hash.c tdb2: Make TDB1 use the same tdb_hash() wrapper as TDB2 2011-09-14 07:41:13 +09:30
tdb1_io.c tdb2: log allocation failures in tdb1 backend. 2011-09-14 08:13:26 +09:30
tdb1_lock.c tdb2: fix bogus error from tdb_unlockall() after fork in tdb1 backend. 2011-09-14 08:13:13 +09:30
tdb1_open.c tdb2: log allocation failures in tdb1 backend. 2011-09-14 08:13:26 +09:30
tdb1_private.h tdb2: catch errors in tdb1_needs_recovery() 2011-09-14 08:07:13 +09:30
tdb1_summary.c tdb2: unify tdb1_chainlock et al. into tdb_chainlock 2011-09-14 07:56:13 +09:30
tdb1_tdb.c tdb2: don't continue if tdb1_find fails. 2011-09-14 08:13:26 +09:30
tdb1_transaction.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
tdb1_traverse.c tdb2: make tdb1_null static. 2011-09-14 08:04:13 +09:30
tdb2.h tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_. 2011-11-01 03:19:58 +01:00
tdb.c tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_. 2011-11-01 03:19:58 +01:00
TODO tdb2: tie it into build process if --enable-tdb2-breaks-compat 2011-06-20 11:18:36 +02:00
transaction.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
traverse.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
wscript tdb2: change --enable-tdb2-breaks-compat to --enable-tdb2 2011-09-21 09:25:11 +02:00