mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
better toString() for indexcursor
This commit is contained in:
parent
cb1081beed
commit
e227ff9bac
@ -199,7 +199,9 @@ public:
|
||||
virtual DiskLoc currLoc() { return !bucket.isNull() ? _currKeyNode().recordLoc : DiskLoc(); }
|
||||
virtual Record* _current() { return currLoc().rec(); }
|
||||
virtual BSONObj current() { return BSONObj(_current()); }
|
||||
virtual const char * toString() { return "BtreeCursor"; }
|
||||
virtual const char * toString() {
|
||||
return string("BtreeCursor ") + indexDetails.indexName();
|
||||
}
|
||||
|
||||
private:
|
||||
void checkUnused();
|
||||
|
Loading…
Reference in New Issue
Block a user