diff options
author | Howard Chu <hyc@symas.com> | 2018-01-31 18:18:01 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2018-01-31 18:18:01 +0000 |
commit | 84a8b2da140c20be3b0c4042160524d226634d0f (patch) | |
tree | f82ee31361fe303a6cf4f9a247570c885638f42c /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #3091 (diff) | |
download | monero-84a8b2da140c20be3b0c4042160524d226634d0f.tar.xz |
Don't create readtxn until after txn_safe gate check
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h index ecd14f11b..e4c1fef84 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -112,6 +112,7 @@ struct mdb_txn_safe // BlockchainLMDB destructor to call mdb_txn_safe destructor, as that's too late // to properly abort, since mdb_env_close would have been called earlier. void abort(); + void uncheck(); operator MDB_txn*() { |