]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
cache.clear() on LMDB: be more strict about transactions
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 4 Sep 2017 12:48:41 +0000 (14:48 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 4 Sep 2017 12:52:04 +0000 (14:52 +0200)
commit10691bf05127b815ef832e5f8d8df682e7e4c618
tree08f6d31c334925ab2ffc6cc1159077255c3256b6
parentcbe89d4487c3eb26f08a17d5184e182681376004
cache.clear() on LMDB: be more strict about transactions

In particular, don't keep even a reset read-only transaction.
This doesn't help with that MDB_BAD_TXN, but still it seems better.
lib/cdb_lmdb.c