summaryrefslogtreecommitdiff
path: root/src/mongo/db/explain.cpp
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2012-02-24 22:46:52 -0800
committerAaron <aaron@10gen.com>2012-02-24 22:49:18 -0800
commitb08eb0591a7ed0965f2ee0d5531809940e68f54f (patch)
tree9b98d955c6a1f03f92ed5718d6dd2a836eba98ca /src/mongo/db/explain.cpp
parent96d7f43618723fdcb737552ad2337d5c28cf4650 (diff)
downloadmongo-b08eb0591a7ed0965f2ee0d5531809940e68f54f.tar.gz
SERVER-4150 some explain related cleanups
Diffstat (limited to 'src/mongo/db/explain.cpp')
-rw-r--r--src/mongo/db/explain.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/explain.cpp b/src/mongo/db/explain.cpp
index 2b068d5fde8..90760fdf3a5 100644
--- a/src/mongo/db/explain.cpp
+++ b/src/mongo/db/explain.cpp
@@ -112,7 +112,6 @@ namespace mongo {
BSONObj ExplainClauseInfo::bson() const {
BSONObjBuilder bb;
bb.appendElements( virtualPickedPlan().pickedPlanBson( *this ) );
- // TODO won't include plans w/ no cursor iterates.
BSONArrayBuilder allPlans( bb.subarrayStart( "allPlans" ) );
for( list<shared_ptr<const ExplainPlanInfo> >::const_iterator i = _plans.begin();
i != _plans.end(); ++i ) {
@@ -185,7 +184,7 @@ namespace mongo {
}
}
verify( 16076, false );
- return *(new ExplainPlanInfo()); // TODO better
+ return *(new ExplainPlanInfo());
}
void ExplainQueryInfo::noteIterate( bool match, bool loadedObject, bool chunkSkip ) {