diff options
author | Mathias Stearn <mathias@10gen.com> | 2015-07-23 17:26:36 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2015-07-24 17:20:39 -0400 |
commit | 7d9c2e603212d3012b6f4c726f566abd812f35ea (patch) | |
tree | 75ff28100aa39f1a59885471d0ccbbf6ff4cdb67 /src/mongo/db/dbdirectclient.cpp | |
parent | 5c20356061c19b7343cb9aab7398238581f0b600 (diff) | |
download | mongo-7d9c2e603212d3012b6f4c726f566abd812f35ea.tar.gz |
SERVER-19563 kill KillCursor piggyBack code
Diffstat (limited to 'src/mongo/db/dbdirectclient.cpp')
-rw-r--r-- | src/mongo/db/dbdirectclient.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/dbdirectclient.cpp b/src/mongo/db/dbdirectclient.cpp index 4435547d7c7..244669481c5 100644 --- a/src/mongo/db/dbdirectclient.cpp +++ b/src/mongo/db/dbdirectclient.cpp @@ -89,11 +89,6 @@ std::string DBDirectClient::getServerAddress() const { return "localhost"; // TODO: should this have the port? } -void DBDirectClient::sayPiggyBack(Message& toSend) { - // don't need to piggy back when connected locally - return say(toSend); -} - bool DBDirectClient::callRead(Message& toSend, Message& response) { return call(toSend, response); } @@ -155,12 +150,6 @@ unique_ptr<DBClientCursor> DBDirectClient::query(const string& ns, ns, query, nToReturn, nToSkip, fieldsToReturn, queryOptions, batchSize); } -void DBDirectClient::killCursor(long long id) { - // The killCursor command on the DB client is only used by sharding, - // so no need to have it for MongoD. - verify(!"killCursor should not be used in MongoD"); -} - const HostAndPort DBDirectClient::dummyHost("0.0.0.0", 0); unsigned long long DBDirectClient::count( |