diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-02-16 14:24:01 +0100 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-02-16 14:24:01 +0100 |
commit | 260d666cf45c0635f00fe6c3d23c79a27c8a8a4f (patch) | |
tree | 7a17847a8e2270bc8b602b1a84162c92db487539 /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #3229 (diff) | |
parent | Don't create readtxn until after txn_safe gate check (diff) | |
download | monero-260d666cf45c0635f00fe6c3d23c79a27c8a8a4f.tar.xz |
Merge pull request #3231
84a8b2da Don't create readtxn until after txn_safe gate check (Howard Chu)
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 ceae2f084..1b76abf35 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*() { |