db/version_set.cc
// Stores the minimal range that covers all entries in inputs1 and inputs2
// in *smallest, *largest.
// REQUIRES: inputs is not empty
Stores the minimal range that covers all entries in inputs1 and inputs2
in *smallest, *largest.
REQUIRES: inputs is not empty
Stores the minimal range that covers all entries in inputs1 and inputs2 in * smallest * largest . REQUIRES : inputs is not empty
void VersionSet::GetRange2(const std::vector<SetMetaData*>& inputs1,
                           const std::vector<SetMetaData*>& inputs2,
                           InternalKey* smallest, InternalKey* largest) {
  std::vector<SetMetaData*> all = inputs1;
  all.insert(all.end(), inputs2.begin(), inputs2.end());
  GetRange(all, smallest, largest);
}
void VersionSet :: GetRange2 ( const std :: vector < SetMetaData * > & inputs1 , const std :: vector < SetMetaData * > & inputs2 , InternalKey * smallest , InternalKey * largest ) { std :: vector < SetMetaData * > all = inputs1 ; all . insert ( all . end ( ) , inputs2 . begin ( ) , inputs2 . end ( ) ) ; GetRange ( all , smallest , largest ) ; }
Stores the minimal range that covers all entries in inputs1 and inputs2
in *smallest, *largest.
Stores the minimal range that covers all entries in inputs1 and inputs2 in * smallest * largest .