Skip to content
Browse files

change name of extra explain function for cursor - SERVER-3277

  • Loading branch information...
1 parent 9d058fb commit a0f84c7f22fc8d23dcfeb572cd0a1840fae841d8 gregs committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 db/cursor.h
  2. +1 −1 db/geo/2d.cpp
  3. +1 −1 db/ops/query.cpp
View
2 db/cursor.h
@@ -133,7 +133,7 @@ namespace mongo {
massert( 13285, "manual matcher config not allowed", false );
}
- virtual void customExplain( BSONObjBuilder& b ) { return; }
+ virtual void explainDetails( BSONObjBuilder& b ) { return; }
};
// strategy object implementing direction of traversal.
View
2 db/geo/2d.cpp
@@ -1517,7 +1517,7 @@ namespace mongo {
return _nscanned;
}
- virtual void customExplain( BSONObjBuilder& b ){
+ virtual void explainDetails( BSONObjBuilder& b ){
b << "keysChecked" << _keysChecked;
b << "lookedAt" << _lookedAt;
b << "matchesPerfd" << _matchesPerfd;
View
2 db/ops/query.cpp
@@ -420,7 +420,7 @@ namespace mongo {
*_b << "indexBounds" << c->prettyIndexBounds();
- c->customExplain( *_b );
+ c->explainDetails( *_b );
if ( !hint ) {
*_b << "allPlans" << _a->arr();

0 comments on commit a0f84c7

Please sign in to comment.
Something went wrong with that request. Please try again.