aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/db_bench.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/db/db_bench.cc')
-rw-r--r--src/leveldb/db/db_bench.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leveldb/db/db_bench.cc b/src/leveldb/db/db_bench.cc
index 21d3e25f31..7abdf87587 100644
--- a/src/leveldb/db/db_bench.cc
+++ b/src/leveldb/db/db_bench.cc
@@ -693,6 +693,7 @@ class Benchmark {
options.create_if_missing = !FLAGS_use_existing_db;
options.block_cache = cache_;
options.write_buffer_size = FLAGS_write_buffer_size;
+ options.max_open_files = FLAGS_open_files;
options.filter_policy = filter_policy_;
Status s = DB::Open(options, FLAGS_db, &db_);
if (!s.ok()) {