blob: c792f214259c7e22b241bc286f06448205807481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Validation test for SERVER-14747. Note that the issue under test is a memory leak, so this
// test would only be expected to fail when run under address sanitizer.
// @tags: [
// sbe_incompatible,
// ]
(function() {
"use strict";
var t = db.jstests_server14747;
t.drop();
t.createIndex({a: 1, b: 1});
t.createIndex({a: 1, c: 1});
t.insert({a: 1});
for (var i = 0; i < 10; i++) {
t.find({a: 1}).explain(true);
}
}());
|