summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/parsed_delete.cpp
diff options
context:
space:
mode:
authorMilena Ivanova <milena.ivanova@mongodb.com>2021-10-25 11:07:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-03 12:45:58 +0000
commit59aa9b7fd40e1a2c96c97b7dc214778e42039f27 (patch)
tree2641f4c0924e8b813ad37f04d1f90954cd217ab5 /src/mongo/db/ops/parsed_delete.cpp
parentae30e07629d8e9a34f4395783b0b5e96fcae9153 (diff)
downloadmongo-59aa9b7fd40e1a2c96c97b7dc214778e42039f27.tar.gz
SERVER-57037 Improve precision of operator counters
(cherry picked from commit a7d667da957305b1532fa07059f2bec6b2be97b4)
Diffstat (limited to 'src/mongo/db/ops/parsed_delete.cpp')
-rw-r--r--src/mongo/db/ops/parsed_delete.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/ops/parsed_delete.cpp b/src/mongo/db/ops/parsed_delete.cpp
index 5028ccde159..6075a550e2f 100644
--- a/src/mongo/db/ops/parsed_delete.cpp
+++ b/src/mongo/db/ops/parsed_delete.cpp
@@ -80,6 +80,7 @@ Status ParsedDelete::parseRequest() {
return Status::OK();
}
+ _expCtx->startExpressionCounters();
return parseQueryToCQ();
}