diff options
author | Anton Korshunov <anton.korshunov@mongodb.com> | 2019-11-05 22:41:50 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-05 22:41:50 +0000 |
commit | 7c7bf229e2e1a911ad636e8d7827b2918215b357 (patch) | |
tree | 42f4a0a9b22c82ae8f73ca74462c0a0cd621a95e /src/mongo/db/commands/write_commands/write_commands.cpp | |
parent | a22581e85b43b826535b180afaddac2b6146b44f (diff) | |
download | mongo-7c7bf229e2e1a911ad636e8d7827b2918215b357.tar.gz |
SERVER-43877 Remove raw projection BSON from projection stages
Diffstat (limited to 'src/mongo/db/commands/write_commands/write_commands.cpp')
-rw-r--r-- | src/mongo/db/commands/write_commands/write_commands.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mongo/db/commands/write_commands/write_commands.cpp b/src/mongo/db/commands/write_commands/write_commands.cpp index 8d7339d1d80..4c9671b9e34 100644 --- a/src/mongo/db/commands/write_commands/write_commands.cpp +++ b/src/mongo/db/commands/write_commands/write_commands.cpp @@ -377,8 +377,11 @@ private: // info is more accurate. AutoGetCollection collection(opCtx, _batch.getNamespace(), MODE_IX); - auto exec = uassertStatusOK(getExecutorUpdate( - opCtx, &CurOp::get(opCtx)->debug(), collection.getCollection(), &parsedUpdate)); + auto exec = uassertStatusOK(getExecutorUpdate(opCtx, + &CurOp::get(opCtx)->debug(), + collection.getCollection(), + &parsedUpdate, + verbosity)); auto bodyBuilder = result->getBodyBuilder(); Explain::explainStages( exec.get(), collection.getCollection(), verbosity, BSONObj(), &bodyBuilder); @@ -451,8 +454,11 @@ private: AutoGetCollection collection(opCtx, _batch.getNamespace(), MODE_IX); // Explain the plan tree. - auto exec = uassertStatusOK(getExecutorDelete( - opCtx, &CurOp::get(opCtx)->debug(), collection.getCollection(), &parsedDelete)); + auto exec = uassertStatusOK(getExecutorDelete(opCtx, + &CurOp::get(opCtx)->debug(), + collection.getCollection(), + &parsedDelete, + verbosity)); auto bodyBuilder = result->getBodyBuilder(); Explain::explainStages( exec.get(), collection.getCollection(), verbosity, BSONObj(), &bodyBuilder); |