diff options
Diffstat (limited to 'db/queryoptimizer.cpp')
-rw-r--r-- | db/queryoptimizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/queryoptimizer.cpp b/db/queryoptimizer.cpp index 67201323c66..56896a5abaf 100644 --- a/db/queryoptimizer.cpp +++ b/db/queryoptimizer.cpp @@ -338,6 +338,9 @@ namespace mongo { shared_ptr< QueryOp > QueryPlanSet::Runner::run() { massert( "no plans", plans_.plans_.size() > 0 ); + if ( plans_.plans_.size() > 1 ) + log(1) << " running multiple plans" << endl; + vector< shared_ptr< QueryOp > > ops; for( PlanSet::iterator i = plans_.plans_.begin(); i != plans_.plans_.end(); ++i ) { shared_ptr< QueryOp > op( op_.clone() ); |