diff options
Diffstat (limited to 'src/mongo/db/query/new_find.cpp')
-rw-r--r-- | src/mongo/db/query/new_find.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mongo/db/query/new_find.cpp b/src/mongo/db/query/new_find.cpp index ef0cc4cebfa..d340e0db21c 100644 --- a/src/mongo/db/query/new_find.cpp +++ b/src/mongo/db/query/new_find.cpp @@ -124,15 +124,7 @@ namespace mongo { const LiteParsedQuery& pq = cq->getParsed(); - // Things we know we fail at: - - // Projections. - if (!pq.getProj().isEmpty()) { - QLOG() << "rejecting query w/proj\n"; - return false; - } - - // Obscure arguments to .find(). + // We fail to deal well with obscure arguments to .find(). if (pq.returnKey() || pq.showDiskLoc() || (0 != pq.getMaxScan()) || !pq.getMin().isEmpty() || !pq.getMax().isEmpty()) { QLOG() << "rejecting wacky query args query\n"; |