summaryrefslogtreecommitdiff
path: root/src/mongo/s/strategy.cpp
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2015-10-30 14:51:02 -0400
committerJason Rassi <rassi@10gen.com>2015-11-06 12:08:52 -0500
commit81aca0ec6827eaffd54c91af46f9041ce62587c4 (patch)
tree17957a7ad33ad80d6c059a891434a0b924ec2e55 /src/mongo/s/strategy.cpp
parentd393cfcf7fefe99b1ffba05ce6282bb5c97f20fb (diff)
downloadmongo-81aca0ec6827eaffd54c91af46f9041ce62587c4.tar.gz
SERVER-19510 Refactor WhereMatchExpression/WhereNoOpMatchExpression
- Moves ExtensionsCallbackReal and ExtensionsCallbackNoop to their own files, and introduces a new library 'expressions_mongod_only' in db/matcher/. - Introduces a common base class for WhereMatchExpression and WhereNoOpMatchExpression. - Introduces a protected method extractWhereMatchExpressionParams() on ExtensionsCallback.
Diffstat (limited to 'src/mongo/s/strategy.cpp')
-rw-r--r--src/mongo/s/strategy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/strategy.cpp b/src/mongo/s/strategy.cpp
index 911c23971ea..9534192381b 100644
--- a/src/mongo/s/strategy.cpp
+++ b/src/mongo/s/strategy.cpp
@@ -45,6 +45,7 @@
#include "mongo/db/commands.h"
#include "mongo/db/max_time.h"
#include "mongo/db/server_parameters.h"
+#include "mongo/db/matcher/extensions_callback_noop.h"
#include "mongo/db/namespace_string.h"
#include "mongo/db/query/lite_parsed_query.h"
#include "mongo/db/query/getmore_request.h"