diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2013-11-01 16:24:55 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2013-11-06 10:01:33 -0500 |
commit | dcd569ac549275cd3b81642325f63001cb33cd64 (patch) | |
tree | ec25fe1b74b36689093176efd2c4529649982420 /src/mongo/db/clientcursor.h | |
parent | 0f7bd3d2d308ea2c7c154977bde301c87129d0df (diff) | |
download | mongo-dcd569ac549275cd3b81642325f63001cb33cd64.tar.gz |
SERVER-10026 migrate clients
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 8db847db4f8..073f883b4b2 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -63,6 +63,8 @@ namespace mongo { ClientCursor(Runner* runner, int qopts = 0, const BSONObj query = BSONObj()); + ClientCursor(const string& ns); + ~ClientCursor(); /** @@ -399,9 +401,10 @@ namespace mongo { public: ClientCursorPin( long long cursorid ); ~ClientCursorPin(); + // This just releases the pin, does not delete the underlying. void release(); // Call this to delete the underlying ClientCursor. - void free(); + void deleteUnderlying(); ClientCursor *c() const; private: CursorId _cursorid; |