diff options
author | Aaron <aaron@10gen.com> | 2010-05-25 16:09:24 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-05-25 16:09:24 -0700 |
commit | 6a0f9dfa91f4ff4e5fe40b097636fc220fdbbe77 (patch) | |
tree | 2f1c25f79d7533da8e60df787dcf637a65bc8bcf | |
parent | 349d039224e9885723f60ec5d46dffdc6689e69f (diff) | |
download | mongo-6a0f9dfa91f4ff4e5fe40b097636fc220fdbbe77.tar.gz |
SERVER-109 remove matcher from ClientCursor
-rw-r--r-- | db/clientcursor.h | 1 | ||||
-rw-r--r-- | db/dbcommands.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/db/clientcursor.h b/db/clientcursor.h index 2e10a38af81..1bce1a3b463 100644 --- a/db/clientcursor.h +++ b/db/clientcursor.h @@ -103,7 +103,6 @@ namespace mongo { /*const*/ CursorId cursorid; string ns; - auto_ptr<CoveredIndexMatcher> matcher; shared_ptr<Cursor> c; int pos; // # objects into the cursor so far BSONObj query; diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp index 50c29881498..fc3f55b3cce 100644 --- a/db/dbcommands.cpp +++ b/db/dbcommands.cpp @@ -1225,7 +1225,6 @@ namespace mongo { { shared_ptr<Cursor> c = theDataFileMgr.findAll( fromNs.c_str(), startLoc ); ClientCursor *cc = new ClientCursor(0, c, fromNs.c_str()); - cc->matcher.reset( new CoveredIndexMatcher( BSONObj(), fromjson( "{$natural:1}" ) ) ); id = cc->cursorid; } |