diff options
Diffstat (limited to 'jstests/core/expr_index_use.js')
| -rw-r--r-- | jstests/core/expr_index_use.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/jstests/core/expr_index_use.js b/jstests/core/expr_index_use.js index 95a5699eb48..488c9267e90 100644 --- a/jstests/core/expr_index_use.js +++ b/jstests/core/expr_index_use.js @@ -279,11 +279,6 @@ confirmExpectedExprExecution({$eq: ["$w", NaN]}, {nReturned: 1, expectedIndex: { confirmExpectedExprExecution({$eq: ["$w", undefined]}, {nReturned: 16}); confirmExpectedExprExecution({$eq: ["$w", "$$REMOVE"]}, {nReturned: 16}); -// Test that equality to null queries can use a sparse index. -assert.commandWorked(coll.dropIndex({w: "hashed"})); -assert.commandWorked(coll.createIndex({w: 1}, {sparse: true})); -confirmExpectedExprExecution({$eq: ["$w", null]}, {nReturned: 1, expectedIndex: {w: 1}}); - // Equality match against text index prefix is expected to fail. Equality predicates are // required against the prefix fields of a text index, but currently $eq inside $expr does not // qualify. |
