diff options
author | David Percy <david.percy@mongodb.com> | 2020-09-05 05:26:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-05 07:33:07 +0000 |
commit | d860991d18ac6976b930eb3a86d1294e83843869 (patch) | |
tree | 1d70434389c4bfbecce1b3e6aaa7b6a4f14afc58 | |
parent | 52a6af98520e33142ffb0d7ca6fbc404b7356111 (diff) | |
download | mongo-d860991d18ac6976b930eb3a86d1294e83843869.tar.gz |
SERVER-49102 Fix missing nUpserted
-rw-r--r-- | src/mongo/db/curop.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp index 7144d2a1e65..06c7218adbb 100644 --- a/src/mongo/db/curop.cpp +++ b/src/mongo/db/curop.cpp @@ -1148,6 +1148,7 @@ void OpDebug::append(OperationContext* opCtx, OPDEBUG_APPEND_OPTIONAL(b, "nModified", additiveMetrics.nModified); OPDEBUG_APPEND_OPTIONAL(b, "ninserted", additiveMetrics.ninserted); OPDEBUG_APPEND_OPTIONAL(b, "ndeleted", additiveMetrics.ndeleted); + OPDEBUG_APPEND_OPTIONAL(b, "nUpserted", additiveMetrics.nUpserted); OPDEBUG_APPEND_BOOL(b, cursorExhausted); OPDEBUG_APPEND_OPTIONAL(b, "keysInserted", additiveMetrics.keysInserted); |