parent
3307860ca6
commit
77ba8f9e7b
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
# LMDBAL 0.5.3 (UNRELEASED)
|
||||
### Bug fixes
|
||||
- transaction error in LMDBAL::Cache::readAll
|
||||
|
||||
## LMDBAL 0.5.2 (November 01, 2023)
|
||||
### Improvements
|
||||
- RAII cursors
|
||||
|
@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(LMDBAL
|
||||
VERSION 0.5.2
|
||||
VERSION 0.5.3
|
||||
DESCRIPTION "LMDB (Lightning Memory-Mapped Database Manager) Abstraction Layer"
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Maintainer: Yury Gubich <blue@macaw.me>
|
||||
pkgname=lmdbal
|
||||
pkgver=0.5.2
|
||||
pkgver=0.5.3
|
||||
pkgrel=1
|
||||
pkgdesc="LMDB Abstraction Layer, qt5 version"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -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…
Reference in New Issue
Block a user