summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
diff options
context:
space:
mode:
authorHugh Tong <hugh.tong@mongodb.com>2023-05-15 15:28:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-15 18:00:33 +0000
commitb45d9b1215bedf4328bded55913475dd6b589e92 (patch)
treeae2f4299360c4b930fef4935535a95b99fb2e002 /src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
parentf1ac91d1e2db63009bd9f41d068f09f009c024cf (diff)
downloadmongo-b45d9b1215bedf4328bded55913475dd6b589e92.tar.gz
SERVER-76634 Add SerializationContext object to ExpressionContext
Diffstat (limited to 'src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp')
-rw-r--r--src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
index c3db7716d48..d90d2049c7b 100644
--- a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
+++ b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
@@ -645,13 +645,13 @@ bool CommonMongodProcessInterface::fieldsHaveSupportingUniqueIndex(
}
BSONObj CommonMongodProcessInterface::_reportCurrentOpForClient(
- OperationContext* opCtx,
+ const boost::intrusive_ptr<ExpressionContext>& expCtx,
Client* client,
CurrentOpTruncateMode truncateOps,
CurrentOpBacktraceMode backtraceMode) const {
BSONObjBuilder builder;
- CurOp::reportCurrentOpForClient(opCtx,
+ CurOp::reportCurrentOpForClient(expCtx,
client,
(truncateOps == CurrentOpTruncateMode::kTruncateOps),
(backtraceMode == CurrentOpBacktraceMode::kIncludeBacktrace),