summaryrefslogtreecommitdiff
path: root/jstests/core/plan_cache_list_plans.js
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-07-23 13:52:36 -0400
committerDavid Storch <david.storch@10gen.com>2014-07-31 10:59:29 -0400
commitb494ade9a9461d16ab3812640ca72ee9c9e4345c (patch)
tree3f6b4693f519af45dbfbef124774d54023531a8f /jstests/core/plan_cache_list_plans.js
parent0028a339876b352575758910a158973852ce4cfe (diff)
downloadmongo-b494ade9a9461d16ab3812640ca72ee9c9e4345c.tar.gz
SERVER-10448 migrate code out of explain_plan.cpp
Diffstat (limited to 'jstests/core/plan_cache_list_plans.js')
-rw-r--r--jstests/core/plan_cache_list_plans.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/plan_cache_list_plans.js b/jstests/core/plan_cache_list_plans.js
index 4e90531da25..038bcd949eb 100644
--- a/jstests/core/plan_cache_list_plans.js
+++ b/jstests/core/plan_cache_list_plans.js
@@ -69,6 +69,6 @@ for (var i = 0; i < plans.length; i++) {
'plans not sorted by score in descending order. ' +
'plan ' + i + ' has a score that is greater than that of the previous plan');
}
- assert(plans[i].reason.stats.hasOwnProperty('type'), 'no stats inserted for plan ' + i);
+ assert(plans[i].reason.stats.hasOwnProperty('stage'), 'no stats inserted for plan ' + i);
}