summaryrefslogtreecommitdiff
path: root/db/queryutil.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-03-15 16:53:31 -0400
committerEliot Horowitz <eliot@10gen.com>2010-03-15 16:53:31 -0400
commitb425b6bfe0e212768fc99e4a19635ecb22ab6ba5 (patch)
tree95ed7ecb9b65832b834ae880811cd2410de8a256 /db/queryutil.h
parentaa6c394b72667bb59effcdb4f13a0c70202e7258 (diff)
downloadmongo-b425b6bfe0e212768fc99e4a19635ecb22ab6ba5.tar.gz
commited and reverted so the code exists
Revert "stalled attempt at covered index lookup SERVER-192 see case for why stalled" This reverts commit aa6c394b72667bb59effcdb4f13a0c70202e7258.
Diffstat (limited to 'db/queryutil.h')
-rw-r--r--db/queryutil.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/db/queryutil.h b/db/queryutil.h
index e0506deeaa4..7d8be789c36 100644
--- a/db/queryutil.h
+++ b/db/queryutil.h
@@ -197,16 +197,12 @@ namespace mongo {
void append( BSONObjBuilder& b , const BSONElement& e ) const;
BSONObj getSpec() const;
-
- bool canGetFromIndex( const BSONObj& keyPattern ) const;
- void appendFromIndex( BSONObjBuilder& b , const BSONObj& keyPattern , const BSONObj& key ) const ;
private:
void add( const string& field, bool include );
void appendArray( BSONObjBuilder& b , const BSONObj& a ) const;
bool _include; // true if default at this level is to include
- bool _anyEmbedded;
//TODO: benchmark vector<pair> vs map
typedef map<string, boost::shared_ptr<FieldMatcher> > FieldMap;
FieldMap _fields;