a bug in readAll of cache
All checks were successful
Main LMDBAL workfow / Archlinux (push) Successful in 45s

This commit is contained in:
Blue 2023-11-10 19:27:04 -03:00
parent 3307860ca6
commit 77ba8f9e7b
Signed by: blue
GPG key ID: 9B203B252A63EE38
4 changed files with 7 additions and 3 deletions

View file

@ -549,7 +549,7 @@ void LMDBAL::Cache<K, V>::readAll(std::map<K, V>& out, TransactionID txn) const
} else {
if (mode != Mode::full) { //there is a room for optimization
mode = Mode::full; //I can read and deserialize only those values
Storage<K, V>::readAll(out); //that are missing in the cache
Storage<K, V>::readAll(out, txn); //that are missing in the cache
*cache = out;
abscent->clear();
sizeDifference = 0;