Join GitHub today
Add LMDB backend for RPMDB to RPM (from @n3npq in #281) #291
changed the title from
Add LMDB backend for RPMDB to RPM (from @n3npq in #281)
WIP: Add LMDB backend for RPMDB to RPM (from @n3npq in #281)
Aug 10, 2017
@n3npq : well this is a pleasant surprise. Thank you!
@Conan-Kudo : testing for Packages.mdb existence doesn't make LMDB create it. AFAICS the "data.mdb" name is hardwired in LMDB unless MDB_NOSUBDIR is used, and using that would introduce other unnecessary complications. I can fix that when committing.
Other than that, there seems to be some code duplication from db3.c that could be eliminated with a bit of refactoring and other more or less minor cleanups, but those can be dealt with later on as time permits.