summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_connection.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_connection.cpp
parentd68d672dd4cc27c92be897e7523fad85664fc39e (diff)
downloadmongo-480192de1789e8387b64976ad015c11fac990617.tar.gz
SERVER-33135 Delete code for OP_COMMAND
Diffstat (limited to 'src/mongo/client/dbclient_connection.cpp')
-rw-r--r--src/mongo/client/dbclient_connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_connection.cpp b/src/mongo/client/dbclient_connection.cpp
index dbabb5ebc82..d0940a873e4 100644
--- a/src/mongo/client/dbclient_connection.cpp
+++ b/src/mongo/client/dbclient_connection.cpp
@@ -109,7 +109,7 @@ executor::RemoteCommandResponse initWireVersion(DBClientConnection* conn,
StringData applicationName) {
try {
// We need to force the usage of OP_QUERY on this command, even if we have previously
- // detected support for OP_COMMAND on a connection. This is necessary to handle the case
+ // detected support for OP_MSG on a connection. This is necessary to handle the case
// where we reconnect to an older version of MongoDB running at the same host/port.
ScopedForceOpQuery forceOpQuery{conn};