summaryrefslogtreecommitdiff
path: root/jstests/core/geo_center_sphere1.js
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-10-07 18:23:21 -0400
committerDavid Storch <david.storch@10gen.com>2014-10-13 19:59:21 -0400
commitd601b91b6b16be3f93bac2f10952c1e5d273f91f (patch)
treef8b7daf9d3920ded5567489d0d65df50afed9542 /jstests/core/geo_center_sphere1.js
parente7a49e50e5a858b02c9c242c943d7559238bb2b6 (diff)
downloadmongo-d601b91b6b16be3f93bac2f10952c1e5d273f91f.tar.gz
SERVER-14875 explain helpers for the shell
Diffstat (limited to 'jstests/core/geo_center_sphere1.js')
-rw-r--r--jstests/core/geo_center_sphere1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_center_sphere1.js b/jstests/core/geo_center_sphere1.js
index a0539965ccc..a5659391208 100644
--- a/jstests/core/geo_center_sphere1.js
+++ b/jstests/core/geo_center_sphere1.js
@@ -85,7 +85,7 @@ function test(index) {
assert.eq( numExpected , t.find( q ).itcount() , "itcount : " + tojson( searches[i] ) );
assert.eq( numExpected , t.find( q ).count() , "count : " + tojson( searches[i] ) );
if (index == "2d") {
- var explain = t.find( q ).explain();
+ var explain = t.find( q ).explain("executionStats");
print( 'explain for ' + tojson( q , '' , true ) + ' = ' + tojson( explain ) );
// The index should be at least minimally effective in preventing the full collection
// scan.