summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/devnull
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-12-23 11:45:58 -0500
committerEric Milkie <milkie@10gen.com>2014-12-23 12:38:51 -0500
commit0e9f78133f2bbff5b215a106eba64ec98cfecf98 (patch)
tree5d281b9caba9531bfbba5aced8f5d70497d4db26 /src/mongo/db/storage/devnull
parent0a06d53bdbf1b4ce882de8d49f25ed53a9b71352 (diff)
downloadmongo-0e9f78133f2bbff5b215a106eba64ec98cfecf98.tar.gz
SERVER-16245 clean up index stat display
Diffstat (limited to 'src/mongo/db/storage/devnull')
-rw-r--r--src/mongo/db/storage/devnull/devnull_kv_engine.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp
index cf6eac76ee6..c58221d1719 100644
--- a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp
+++ b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp
@@ -196,8 +196,10 @@ namespace mongo {
virtual void fullValidate(OperationContext* txn, bool full, long long* numKeysOut,
BSONObjBuilder* output) const { }
- virtual void appendCustomStats(OperationContext* txn, BSONObjBuilder* output, double scale)
- const { }
+ virtual bool appendCustomStats(OperationContext* txn, BSONObjBuilder* output, double scale)
+ const {
+ return false;
+ }
virtual long long getSpaceUsedBytes( OperationContext* txn ) const { return 0; }