aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2021-07-07 16:26:35 +0100
committerHoward Chu <hyc@symas.com>2022-06-03 16:46:35 +0100
commitb096e16699a189d619dad8a7319c6eb4dc5d46c5 (patch)
tree270d9d69a176416f8f9b5aa5b2fad20211a07289 /src/blockchain_db/lmdb/db_lmdb.h
parentSilence spurious fallthru warning (diff)
downloadmonero-b096e16699a189d619dad8a7319c6eb4dc5d46c5.tar.xz
Revert "db_lmdb: test for mmap support at init time"
This reverts commit bd96536637724413173271e8d5df1777f7879c29. The check interferes with raw device/partition support.
Diffstat (limited to '')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 20edab2e9..bdae44948 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -359,7 +359,6 @@ 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;