Permalink
Browse files

Merge pull request #2 from basho/mv-option-typo

fix typo so that post sanitized options_ used as intended.  Also practic...
  • Loading branch information...
2 parents 6b31546 + 7354363 commit 9502d92634839a0c5a07439827749d81c75570bd matthewvon committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/db_impl.cc
View
@@ -135,7 +135,7 @@ DBImpl::DBImpl(const Options& options, const std::string& dbname)
has_imm_.Release_Store(NULL);
// Reserve ten files or so for other uses and give the rest to TableCache.
- const int table_cache_size = options.max_open_files - 10;
+ const int table_cache_size = options_.max_open_files - 10;
table_cache_ = new TableCache(dbname_, &options_, table_cache_size);
versions_ = new VersionSet(dbname_, &options_, table_cache_,

0 comments on commit 9502d92

Please sign in to comment.