diff options
Diffstat (limited to 'lib/tdb2/summary.c')
-rw-r--r-- | lib/tdb2/summary.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/tdb2/summary.c b/lib/tdb2/summary.c index 4a1d688727..c7e93284e0 100644 --- a/lib/tdb2/summary.c +++ b/lib/tdb2/summary.c @@ -205,14 +205,6 @@ _PUBLIC_ enum TDB_ERROR tdb_summary(struct tdb_context *tdb, char *hashesg, *freeg, *keysg, *datag, *extrag, *uncoalg; enum TDB_ERROR ecode; - if (tdb->flags & TDB_VERSION1) { - /* tdb1 doesn't do graphs. */ - *summary = tdb1_summary(tdb); - if (!*summary) - return tdb->last_error; - return TDB_SUCCESS; - } - hashesg = freeg = keysg = datag = extrag = uncoalg = NULL; ecode = tdb_allrecord_lock(tdb, F_RDLCK, TDB_LOCK_WAIT, false); |