[Rpm-maint] [rpm] te: Don't reload header for JUSTDB transactions (#52)

Panu Matilainen notifications at github.com
Mon Jan 25 06:01:03 UTC 2016

rpmdbOpen() and rpmdbAdd() are internal-only for a reason, for example they bypass all sorts of things like transaction lock. However in rpm >= 4.12 there is rpmtsImportHeader() which is essentially rpmdbAdd() wrapped with all the necessary stuff.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160124/a101eb42/attachment.html>

More information about the Rpm-maint mailing list