diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2016-10-18 10:04:03 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2016-11-03 16:51:45 -0400 |
commit | 3c5f3e81edb5a49db5e66b9cb549e6c0ae58ca47 (patch) | |
tree | df18a2a004c30cc1e62a7474667e8a9c1b915496 /src/mongo/db/commands | |
parent | 1c543d56ab0ebd5f061682f2808d37f73e91f5d6 (diff) | |
download | mongo-3c5f3e81edb5a49db5e66b9cb549e6c0ae58ca47.tar.gz |
SERVER-26270 Initialize windows stacktraces at startup
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r-- | src/mongo/db/commands/current_op.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/db/commands/current_op.cpp b/src/mongo/db/commands/current_op.cpp index 8392131a52b..c696533ef7a 100644 --- a/src/mongo/db/commands/current_op.cpp +++ b/src/mongo/db/commands/current_op.cpp @@ -166,8 +166,6 @@ public: fillLockerInfo(lockerInfo, infoBuilder); } - infoBuilder.done(); - // If we want to include all results or if the filter is empty, then we can append // straight to the inprogBuilder, but otherwise we should run the filter Matcher // outside this loop so we don't lock the ServiceContext while matching - in some cases @@ -184,9 +182,8 @@ public: // support the use case of having a $where filter with currentOp. However, since we // don't have a collection, we pass in a fake collection name (and this is okay, // because $where parsing only relies on the database part of the namespace). - const NamespaceString fakeNS(db, "$cmd"); - const CollatorInterface* collator = nullptr; - const Matcher matcher(filter, ExtensionsCallbackReal(txn, &fakeNS), collator); + const NamespaceString fakeNS(db, "$dummyNamespaceForCurrop"); + const Matcher matcher(filter, ExtensionsCallbackReal(txn, &fakeNS), nullptr); for (const auto& info : inprogInfos) { if (matcher.matches(info)) { |