No, there's a (very) small chance that it picks up entries that have been
deleted. It's like the .recover command of the sqlite cli:
Like the ".dump" command, ".recover" attempts to convert the entire contents of
a database file to text. The difference is that instead of reading data using
the normal SQL database interface, ".recover" attempts to reassemble the
database based on data extracted directly from as many database pages as
possible. If the database is corrupt, ".recover" is usually able to recover
data from all uncorrupted parts of the database, whereas ".dump" stops when the
first sign of corruption is encountered.
BerkeleyDB has a db_recover utility for this. My initial plan was to also
create a ndb_recover tool, but then I realized it was way easier to integrate
it into the rpmdb command.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1042#issuecomment-585106709
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint