diff options
author | Mathias Stearn <mathias@10gen.com> | 2018-07-25 15:04:48 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2018-07-30 13:57:10 -0400 |
commit | 480192de1789e8387b64976ad015c11fac990617 (patch) | |
tree | 1bd8c4bf54334ca55254bbf534ad3d7127843355 /src/mongo/client/dbclient_cursor.cpp | |
parent | d68d672dd4cc27c92be897e7523fad85664fc39e (diff) | |
download | mongo-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.cpp | 2 |
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()); |