summaryrefslogtreecommitdiff
path: root/lib/tdb2/check.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-18 22:30:25 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-19 05:38:05 +0200
commitcab6e116786641e28747de3f70c8cd89ba17673f (patch)
treee41622bfd16ed94a6bb67a91a409ac970a22c533 /lib/tdb2/check.c
parent6244f668a34279e6da62213333dfb32c3ccdb17d (diff)
downloadsamba-cab6e116786641e28747de3f70c8cd89ba17673f.tar.gz
samba-cab6e116786641e28747de3f70c8cd89ba17673f.tar.bz2
samba-cab6e116786641e28747de3f70c8cd89ba17673f.zip
TDB2: remove TDB1 compatibility.
This rips out all the TDB1 compatibility from tdb2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb2/check.c')
-rw-r--r--lib/tdb2/check.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/tdb2/check.c b/lib/tdb2/check.c
index 9fe60e5409..e6c815815c 100644
--- a/lib/tdb2/check.c
+++ b/lib/tdb2/check.c
@@ -810,12 +810,6 @@ _PUBLIC_ enum TDB_ERROR tdb_check_(struct tdb_context *tdb,
" cannot check.");
}
- if (tdb->flags & TDB_VERSION1) {
- if (tdb1_check(tdb, check, data) == -1)
- return tdb->last_error;
- return TDB_SUCCESS;
- }
-
ecode = tdb_allrecord_lock(tdb, F_RDLCK, TDB_LOCK_WAIT, false);
if (ecode != TDB_SUCCESS) {
return tdb->last_error = ecode;