diff options
author | samontea <merciers.merciers@gmail.com> | 2020-11-19 19:13:31 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-26 00:02:43 +0000 |
commit | 36f73659a827d20c3848db375dc79174afb8eaa4 (patch) | |
tree | 71418ccaa79b5d9eb3cd50eb6c0076321c43d555 /src/mongo/s | |
parent | 0bd81777cbfab4c626782b1bd6d82e034ef23378 (diff) | |
download | mongo-36f73659a827d20c3848db375dc79174afb8eaa4.tar.gz |
SERVER-35522 Make $collStats with count never return result field
Diffstat (limited to 'src/mongo/s')
-rw-r--r-- | src/mongo/s/cluster_commands_helpers.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/s/cluster_commands_helpers.cpp b/src/mongo/s/cluster_commands_helpers.cpp index 1b51d3c04de..37d719deb87 100644 --- a/src/mongo/s/cluster_commands_helpers.cpp +++ b/src/mongo/s/cluster_commands_helpers.cpp @@ -697,9 +697,6 @@ bool appendEmptyResultSet(OperationContext* opCtx, CurOp::get(opCtx)->debug().nShards = 0; if (status == ErrorCodes::NamespaceNotFound) { - // Old style reply - result << "result" << BSONArray(); - // New (command) style reply appendCursorResponseObject(0LL, ns, BSONArray(), &result); |