Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndb: only invalidate the database cache if we must
We now only invalidate the cache if the cached entry gets 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 cached entry if a modified header with a different id is written.
- Loading branch information