aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-07-19 03:37:14 -0700
committerAlexander Blair <snipa@jagtech.io>2020-07-19 03:37:15 -0700
commit6d6c691a0fe54c6b6bcca32e8cb301d2f63ee219 (patch)
tree829dde4f48e60ccc37978699e0660d4b422b0f61 /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #6534 (diff)
parentdb_lmdb: test for mmap support at init time (diff)
downloadmonero-6d6c691a0fe54c6b6bcca32e8cb301d2f63ee219.tar.xz
Merge pull request #6536
bd9653663 db_lmdb: test for mmap support at init time (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h1
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 58e36b15a..5abb8014f 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -358,6 +358,7 @@ public:
static int compare_string(const MDB_val *a, const MDB_val *b);
private:
+ void check_mmap_support();
void do_resize(uint64_t size_increase=0);
bool need_resize(uint64_t threshold_size=0) const;