diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-10-29 11:00:38 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-10-29 11:00:38 -0400 |
commit | 6157d16b47d62294b94295ce45308a693471cc81 (patch) | |
tree | 5db01dad02258e930fb1c4f6c16a9a9a56027c41 /db/dbcommands.cpp | |
parent | dab6e79b37dcdf2d1b58e935370c43e4c91004b4 (diff) | |
download | mongo-6157d16b47d62294b94295ce45308a693471cc81.tar.gz |
cleaning ClientCursor to obey kernel rules and encapsulate more so can add logic later
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r-- | db/dbcommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp index 0feccf019c7..8697b270556 100644 --- a/db/dbcommands.cpp +++ b/db/dbcommands.cpp @@ -1220,7 +1220,7 @@ namespace mongo { { shared_ptr<Cursor> c = theDataFileMgr.findAll( fromNs.c_str(), startLoc ); ClientCursor *cc = new ClientCursor(0, c, fromNs.c_str()); - id = cc->cursorid; + id = cc->cursorid(); } DBDirectClient client; |