diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-01-11 14:00:27 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-01-19 09:55:59 -0500 |
commit | 87c9442cc30d4101693bb8ccb6fd4509aa048558 (patch) | |
tree | 99ab7b36d89776693c09f271e4de4fd4f64846e3 /jstests/core/or3.js | |
parent | 71ae3ed5b7e99ddb629ec64b85f4bd75b73aff17 (diff) | |
download | mongo-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.js | 2 |
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(); |