diff options
author | Jason Rassi <rassi@10gen.com> | 2015-10-29 14:31:11 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2015-11-05 13:56:56 -0500 |
commit | 3b76b83742bcd2124abe38718ad5c68bd72b2fc8 (patch) | |
tree | 0532d5550115fc72cb8c1db10d935f644c392bf9 /src/mongo/db/dbhelpers.cpp | |
parent | c6d730bfed0c3ec374b35c4fd5b2badaa9bd8fc6 (diff) | |
download | mongo-3b76b83742bcd2124abe38718ad5c68bd72b2fc8.tar.gz |
SERVER-19510 Rename MatchExpressionParser::WhereCallback
Diffstat (limited to 'src/mongo/db/dbhelpers.cpp')
-rw-r--r-- | src/mongo/db/dbhelpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp index 999a2c8250e..23183f52f55 100644 --- a/src/mongo/db/dbhelpers.cpp +++ b/src/mongo/db/dbhelpers.cpp @@ -129,9 +129,9 @@ RecordId Helpers::findOne(OperationContext* txn, if (!collection) return RecordId(); - const WhereCallbackReal whereCallback(txn, collection->ns().db()); + const ExtensionsCallbackReal extensionsCallback(txn, collection->ns().db()); - auto statusWithCQ = CanonicalQuery::canonicalize(collection->ns(), query, whereCallback); + auto statusWithCQ = CanonicalQuery::canonicalize(collection->ns(), query, extensionsCallback); massert(17244, "Could not canonicalize " + query.toString(), statusWithCQ.isOK()); unique_ptr<CanonicalQuery> cq = std::move(statusWithCQ.getValue()); |