summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorsdong <siying.d@fb.com>2015-11-30 10:30:22 -0800
committersdong <siying.d@fb.com>2015-11-30 10:30:35 -0800
commitd27ea4c9e535626de68f9847b6298db79f8f49ee (patch)
treea593d00ff774a1d6b0856becc5acdb2ca3be7501 /util
parent72930485b5ed2885f7916570a7579d9ef47dc51c (diff)
Initialize options.row_cache
Summary: options.row_cache should already been initialized as null by default. Still try to set it following current convention, because one valgrind failure reports a failure related to it. Test Plan: Run all unit tests Reviewers: yhchiang, kradhakrishnan, igor Reviewed By: igor Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D51303
Diffstat (limited to 'util')
-rw-r--r--util/options.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/options.cc b/util/options.cc
index 3a90cd860..20bfebbf1 100644
--- a/util/options.cc
+++ b/util/options.cc
@@ -260,6 +260,7 @@ DBOptions::DBOptions()
delayed_write_rate(1024U * 1024U),
skip_stats_update_on_db_open(false),
wal_recovery_mode(WALRecoveryMode::kTolerateCorruptedTailRecords),
+ row_cache(nullptr),
#ifndef ROCKSDB_LITE
wal_filter(nullptr),
#endif // ROCKSDB_LITE