示例#1
0
 bool IntervalBtreeCursor::getsetdup( DiskLoc loc ) {
     // TODO _multikeyFlag may be set part way through an iteration by checkLocation().  In this
     // case results returned earlier, when _multikeyFlag was false, will not be deduped.  This
     // is an old issue with all mongo btree cursor implementations.
     return _multikeyFlag && !_dups.insert( loc.asUint64() ).second;
 }