diff options
author | jinichu <jinnybyun@gmail.com> | 2018-07-03 15:45:28 -0400 |
---|---|---|
committer | jinichu <jinnybyun@gmail.com> | 2018-07-03 15:46:56 -0400 |
commit | 4ce2c25a29ca1442ae3f81777d8251cf5368ee22 (patch) | |
tree | 374bfb162aaee125b937b7d458273d64233335df /src/mongo/db/commands/find_and_modify.cpp | |
parent | c355aa9faac4df1ecfe7ad4bd5e20622433ef66e (diff) | |
download | mongo-4ce2c25a29ca1442ae3f81777d8251cf5368ee22.tar.gz |
SERVER-35428 Added ability to add two OpDebug objects together
Diffstat (limited to 'src/mongo/db/commands/find_and_modify.cpp')
-rw-r--r-- | src/mongo/db/commands/find_and_modify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/find_and_modify.cpp b/src/mongo/db/commands/find_and_modify.cpp index c097d9f1ea4..4c70636f928 100644 --- a/src/mongo/db/commands/find_and_modify.cpp +++ b/src/mongo/db/commands/find_and_modify.cpp @@ -417,7 +417,7 @@ public: opDebug->setPlanSummaryMetrics(summaryStats); // Fill out OpDebug with the number of deleted docs. - opDebug->ndeleted = getDeleteStats(exec.get())->docsDeleted; + opDebug->additiveMetrics.ndeleted = getDeleteStats(exec.get())->docsDeleted; if (curOp->shouldDBProfile()) { BSONObjBuilder execStatsBob; |