summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/parsed_update.cpp
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2015-10-29 14:31:11 -0400
committerJason Rassi <rassi@10gen.com>2015-11-05 13:56:56 -0500
commit3b76b83742bcd2124abe38718ad5c68bd72b2fc8 (patch)
tree0532d5550115fc72cb8c1db10d935f644c392bf9 /src/mongo/db/ops/parsed_update.cpp
parentc6d730bfed0c3ec374b35c4fd5b2badaa9bd8fc6 (diff)
downloadmongo-3b76b83742bcd2124abe38718ad5c68bd72b2fc8.tar.gz
SERVER-19510 Rename MatchExpressionParser::WhereCallback
Diffstat (limited to 'src/mongo/db/ops/parsed_update.cpp')
-rw-r--r--src/mongo/db/ops/parsed_update.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ops/parsed_update.cpp b/src/mongo/db/ops/parsed_update.cpp
index 2fde7af84c9..38239175307 100644
--- a/src/mongo/db/ops/parsed_update.cpp
+++ b/src/mongo/db/ops/parsed_update.cpp
@@ -73,7 +73,7 @@ Status ParsedUpdate::parseQuery() {
Status ParsedUpdate::parseQueryToCQ() {
dassert(!_canonicalQuery.get());
- const WhereCallbackReal whereCallback(_txn, _request->getNamespaceString().db());
+ const ExtensionsCallbackReal extensionsCallback(_txn, _request->getNamespaceString().db());
// Limit should only used for the findAndModify command when a sort is specified. If a sort
// is requested, we want to use a top-k sort for efficiency reasons, so should pass the
@@ -97,7 +97,7 @@ Status ParsedUpdate::parseQueryToCQ() {
emptyObj, // max
false, // snapshot
_request->isExplain(),
- whereCallback);
+ extensionsCallback);
if (statusWithCQ.isOK()) {
_canonicalQuery = std::move(statusWithCQ.getValue());
}