Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for reading BDB without the library
This commit implements a slow read-only backend that allows accessing of BerkeleyDB databases without using the BerkeleyDB library. The code supports btree version 9 and hash version 8 and 9. There are two use cases for this: 1) Conversion of an existing BerkeleyDB to a different backend. 2) Allowing package scriptlets to do database queries while in a transaction that replaced rpm with a version that no longer links against BerkeleyDB. Currently prefix searching is not supported (but it would be easy to add).
- Loading branch information