diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-09-14 13:23:51 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-09-16 14:21:11 -0400 |
commit | 7db3d366efc6c683ba3999f44fe73c79eeb33b84 (patch) | |
tree | bf24c4ff36417e21bfb28f424d0eb3fca7abda91 /src | |
parent | 90d9a09c183b5dc6a83dfc30634e6807b393f457 (diff) | |
download | mongo-7db3d366efc6c683ba3999f44fe73c79eeb33b84.tar.gz |
SERVER-12972: DBClientReplicaSet should ignore value of inline field of MapReduce commands
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/client/dbclient_rs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_rs.cpp b/src/mongo/client/dbclient_rs.cpp index e8045217a08..4eaf980b610 100644 --- a/src/mongo/client/dbclient_rs.cpp +++ b/src/mongo/client/dbclient_rs.cpp @@ -229,7 +229,7 @@ bool _isSecondaryCommand(StringData commandName, const BSONObj& commandArgs) { } BSONElement outElem(commandArgs["out"]); - if (outElem.isABSONObj() && outElem["inline"].trueValue()) { + if (outElem.isABSONObj() && outElem["inline"].ok()) { return true; } } |