We now only invaludate the cache if the cached entry is written or deleted. This is needed for the code in rpmdbNextIterator() which first reads the next header and then writes the modified old header to the database. Therefore we must not free the cache if a modified header with a different id is written. You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1751 -- Commit Summary -- * ndb: only invalidate the database cache if we must -- File Changes -- M lib/backend/ndb/glue.c (10) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/1751.patch https://github.com/rpm-software-management/rpm/pull/1751.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/1751
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint