diff options
Diffstat (limited to 'lib/tdb2/check.c')
-rw-r--r-- | lib/tdb2/check.c | 6 |
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; |