summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2015-12-08 14:07:53 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2015-12-11 14:10:18 -0500
commit52a93ee85ff5b3bb2ba5aef27c5d912142bddff5 (patch)
tree0c0d89be82f275f2cb3e68e59c62e422233d0e63 /src
parent6670ca3ffaf09f79eff8e4e9f618cd1a13481398 (diff)
downloadmongo-52a93ee85ff5b3bb2ba5aef27c5d912142bddff5.tar.gz
SERVER-21768 Remove the 'numCollections' field from dbHash's response
(cherry picked from commit 9689f7e884c6c80f76c35f983e68a7fec8b27969)
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/commands/dbhash.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbhash.cpp b/src/mongo/db/commands/dbhash.cpp
index fe42aea4124..aac2937b8f3 100644
--- a/src/mongo/db/commands/dbhash.cpp
+++ b/src/mongo/db/commands/dbhash.cpp
@@ -172,7 +172,6 @@ bool DBHashCmd::run(OperationContext* txn,
colls.sort();
}
- result.appendNumber("numCollections", (long long)colls.size());
result.append("host", prettyHostName());
md5_state_t globalState;