summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_cursor.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2018-07-25 15:04:48 -0400
committerMathias Stearn <mathias@10gen.com>2018-07-30 13:57:10 -0400
commit480192de1789e8387b64976ad015c11fac990617 (patch)
tree1bd8c4bf54334ca55254bbf534ad3d7127843355 /src/mongo/client/dbclient_cursor.cpp
parentd68d672dd4cc27c92be897e7523fad85664fc39e (diff)
downloadmongo-480192de1789e8387b64976ad015c11fac990617.tar.gz
SERVER-33135 Delete code for OP_COMMAND
Diffstat (limited to 'src/mongo/client/dbclient_cursor.cpp')
-rw-r--r--src/mongo/client/dbclient_cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_cursor.cpp b/src/mongo/client/dbclient_cursor.cpp
index bafdfea1990..321d19d0eef 100644
--- a/src/mongo/client/dbclient_cursor.cpp
+++ b/src/mongo/client/dbclient_cursor.cpp
@@ -247,7 +247,7 @@ void DBClientCursor::exhaustReceiveMore() {
BSONObj DBClientCursor::commandDataReceived(const Message& reply) {
int op = reply.operation();
- invariant(op == opReply || op == dbCommandReply || op == dbMsg);
+ invariant(op == opReply || op == dbMsg);
auto commandReply = _client->parseCommandReplyMessage(_client->getServerAddress(), reply);
auto commandStatus = getStatusFromCommandResult(commandReply->getCommandReply());