a bug in readAll of cache
All checks were successful
Main LMDBAL workfow / Archlinux (push) Successful in 45s
All checks were successful
Main LMDBAL workfow / Archlinux (push) Successful in 45s
This commit is contained in:
parent
3307860ca6
commit
77ba8f9e7b
4 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue