summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclientcursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclientcursor.cpp')
-rw-r--r--src/mongo/client/dbclientcursor.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/client/dbclientcursor.cpp b/src/mongo/client/dbclientcursor.cpp
index 489f647a2ca..ca06f27aa43 100644
--- a/src/mongo/client/dbclientcursor.cpp
+++ b/src/mongo/client/dbclientcursor.cpp
@@ -179,16 +179,6 @@ bool DBClientCursor::initLazyFinish(bool& retry) {
return !retry;
}
-bool DBClientCursor::initCommand() {
- BSONObj res;
-
- bool ok = _client->runCommand(nsGetDB(ns), query, res, opts);
- replyToQuery(0, batch.m, res);
- dataReceived();
-
- return ok;
-}
-
void DBClientCursor::requestMore() {
verify(cursorId && batch.pos == batch.nReturned);