diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2013-08-05 16:13:06 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2013-08-07 17:20:58 -0400 |
commit | 3d3719bd3881b437f136d8ea8a8dfd22de2f3d52 (patch) | |
tree | 2922be571d85a034170b8bb5f0e0ff568d4a3d5d /src/mongo/dbtests/documentsourcetests.cpp | |
parent | 3e50406c655679a5a3ed52cb64b5750c7518fe6f (diff) | |
download | mongo-3d3719bd3881b437f136d8ea8a8dfd22de2f3d52.tar.gz |
SERVER-10026 SERVER-10376 scrub clientcursor vigorously
Diffstat (limited to 'src/mongo/dbtests/documentsourcetests.cpp')
-rw-r--r-- | src/mongo/dbtests/documentsourcetests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/documentsourcetests.cpp b/src/mongo/dbtests/documentsourcetests.cpp index ef0aec52a8d..f235e05a2b3 100644 --- a/src/mongo/dbtests/documentsourcetests.cpp +++ b/src/mongo/dbtests/documentsourcetests.cpp @@ -111,7 +111,7 @@ namespace DocumentSourceTests { void createSource() { Client::ReadContext ctx (ns); boost::shared_ptr<Cursor> cursor = theDataFileMgr.findAll( ns ); - ClientCursor::Holder cc( + ClientCursorHolder cc( new ClientCursor(QueryOption_NoCursorTimeout, cursor, ns)); CursorId cursorId = cc->cursorid(); cc->c()->prepareToYield(); |