summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_where.cpp
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2014-04-14 19:05:49 -0400
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2014-05-01 13:41:58 -0400
commit1d317f1794044fb640e7591a8b611b4374207772 (patch)
treeffd11d52fd0e7e7a03452756329498de662683c4 /src/mongo/db/matcher/expression_where.cpp
parent4eb9988846e1e7d49ec26facd9a2ff6b89f8cdde (diff)
downloadmongo-1d317f1794044fb640e7591a8b611b4374207772.tar.gz
SERVER-13656 Use new query framework in getShardsForQuery on mongos
Diffstat (limited to 'src/mongo/db/matcher/expression_where.cpp')
-rw-r--r--src/mongo/db/matcher/expression_where.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/expression_where.cpp b/src/mongo/db/matcher/expression_where.cpp
index 8f02a748467..8486155a6e9 100644
--- a/src/mongo/db/matcher/expression_where.cpp
+++ b/src/mongo/db/matcher/expression_where.cpp
@@ -192,6 +192,7 @@ namespace mongo {
}
MONGO_INITIALIZER( MatchExpressionWhere )( ::mongo::InitializerContext* context ) {
+ // This could be overrided by MatchExpressionWhereNoOp in mongos
expressionParserWhereCallback = expressionParserWhereCallbackReal;
return Status::OK();
}