summaryrefslogtreecommitdiff
path: root/jstests/core/or3.js
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2018-01-11 14:00:27 -0500
committerCharlie Swanson <charlie.swanson@mongodb.com>2018-01-19 09:55:59 -0500
commit87c9442cc30d4101693bb8ccb6fd4509aa048558 (patch)
tree99ab7b36d89776693c09f271e4de4fd4f64846e3 /jstests/core/or3.js
parent71ae3ed5b7e99ddb629ec64b85f4bd75b73aff17 (diff)
downloadmongo-87c9442cc30d4101693bb8ccb6fd4509aa048558.tar.gz
SERVER-31785 Use 2 shards in sharded jscore passthrough.
Diffstat (limited to 'jstests/core/or3.js')
-rw-r--r--jstests/core/or3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/or3.js b/jstests/core/or3.js
index 50434965bae..0c831c8987b 100644
--- a/jstests/core/or3.js
+++ b/jstests/core/or3.js
@@ -51,7 +51,7 @@ doTest = function(index) {
checkArrs(t.find({x: 1, a: {$ne: 1}, b: {$ne: 2}}).toArray(), an1bn2);
if (index) {
var explain = t.find({x: 1, $nor: [{a: 1}, {b: 2}]}).explain();
- assert(isIxscan(explain.queryPlanner.winningPlan));
+ assert(isIxscan(db, explain.queryPlanner.winningPlan));
}
an1b2 = t.find({$nor: [{a: 1}], $or: [{b: 2}]}).toArray();