diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-03-15 16:53:31 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-03-15 16:53:31 -0400 |
commit | b425b6bfe0e212768fc99e4a19635ecb22ab6ba5 (patch) | |
tree | 95ed7ecb9b65832b834ae880811cd2410de8a256 /db/queryutil.h | |
parent | aa6c394b72667bb59effcdb4f13a0c70202e7258 (diff) | |
download | mongo-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.h | 4 |
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; |