summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/getmore_cmd.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2023-04-04 11:26:53 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-04 17:16:13 +0000
commit2d5b6fb51af722de35c34678c8d146743bc52190 (patch)
tree451194fd2cacc75dbe16d2d67ab0a1c345d29f16 /src/mongo/db/commands/getmore_cmd.cpp
parent05794b52523f287f828a8fa692ac3f3ed6cd5dd1 (diff)
downloadmongo-2d5b6fb51af722de35c34678c8d146743bc52190.tar.gz
SERVER-75265 Improve queryable encryption handling in curop
Diffstat (limited to 'src/mongo/db/commands/getmore_cmd.cpp')
-rw-r--r--src/mongo/db/commands/getmore_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/commands/getmore_cmd.cpp b/src/mongo/db/commands/getmore_cmd.cpp
index 194f44a9092..8b2f980dd98 100644
--- a/src/mongo/db/commands/getmore_cmd.cpp
+++ b/src/mongo/db/commands/getmore_cmd.cpp
@@ -580,6 +580,8 @@ public:
}
curOp->debug().queryFramework = exec->getQueryFramework();
+ curOp->debug().shouldOmitDiagnosticInformation =
+ cursorPin->shouldOmitDiagnosticInformation();
// Update the genericCursor stored in curOp with the new cursor stats.
curOp->setGenericCursor_inlock(cursorPin->toGenericCursor());