[Rpm-maint] [rpm-software-management/rpm] Add support for reading BDB without the library (#980)
Michael Schroeder
notifications at github.com
Thu Dec 19 13:23:28 UTC 2019
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).
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/980
-- Commit Summary --
* Add support for reading BDB without the library
-- File Changes --
M configure.ac (14)
M lib/Makefile.am (4)
A lib/backend/bdb_ro.c (736)
M lib/backend/dbi.c (3)
M lib/backend/dbi.h (5)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/980.patch
https://github.com/rpm-software-management/rpm/pull/980.diff
--
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/980
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191219/edc24185/attachment.html>
More information about the Rpm-maint
mailing list