diff options
author | Adrian Gonzalez <adriangonzalezmontemayor@gmail.com> | 2023-03-21 15:30:44 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-21 16:45:23 +0000 |
commit | 164fa714a90ea9077fdb7c67b870ca36f32eda06 (patch) | |
tree | 6bf92f52ec797aabea19da8efba7fec3536dbc68 /src/mongo/db/commands/run_aggregate.cpp | |
parent | 2c0275949e7e189654ec2259df7bb3389ced780a (diff) | |
download | mongo-164fa714a90ea9077fdb7c67b870ca36f32eda06.tar.gz |
SERVER-74460 Omit information for QE collections
Diffstat (limited to 'src/mongo/db/commands/run_aggregate.cpp')
-rw-r--r-- | src/mongo/db/commands/run_aggregate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp index 8130d473d00..db2f4e692d5 100644 --- a/src/mongo/db/commands/run_aggregate.cpp +++ b/src/mongo/db/commands/run_aggregate.cpp @@ -1010,6 +1010,7 @@ Status runAggregate(OperationContext* opCtx, // If the aggregate command supports encrypted collections, do rewrites of the pipeline to // support querying against encrypted fields. if (shouldDoFLERewrite(request)) { + CurOp::get(opCtx)->debug().shouldOmitDiagnosticInformation = true; // After this rewriting, the encryption info does not need to be kept around. pipeline = processFLEPipelineD( opCtx, nss, request.getEncryptionInformation().value(), std::move(pipeline)); |