From b096e16699a189d619dad8a7319c6eb4dc5d46c5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 7 Jul 2021 16:26:35 +0100 Subject: Revert "db_lmdb: test for mmap support at init time" This reverts commit bd96536637724413173271e8d5df1777f7879c29. The check interferes with raw device/partition support. --- src/blockchain_db/lmdb/db_lmdb.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/blockchain_db/lmdb/db_lmdb.h') 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; -- cgit v1.2.3