summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-09-14 13:23:51 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-09-16 14:21:11 -0400
commit7db3d366efc6c683ba3999f44fe73c79eeb33b84 (patch)
treebf24c4ff36417e21bfb28f424d0eb3fca7abda91 /src
parent90d9a09c183b5dc6a83dfc30634e6807b393f457 (diff)
downloadmongo-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.cpp2
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;
}
}