Lines Matching refs:other
106 // other type consider it NULL
168 bool IndexMap::MergeIndexTypeId(IndexMap *other)
170 if (indexType_ != INDEX_TYPE_ID && other->indexType_ != INDEX_TYPE_ID) {
173 if ((other->start_ >= start_ && other->start_ <= end_) || (start_ >= other->start_ && start_ <= other->end_)) {
174 start_ = std::min(start_, other->start_);
175 end_ = std::max(end_, other->end_);
176 } else if (start_ > other->start_) {
178 other->ConvertToIndexMap();
179 const std::vector<TableRowId> b = other->rowIndex_;
189 other->ConvertToIndexMap();
190 std::vector<TableRowId> c = other->rowIndex_;
201 bool IndexMap::Merge(IndexMap *other)
203 TS_CHECK_TRUE_RET(MergeIndexTypeId(other) == false, true);
205 other->ConvertToIndexMap();
206 const std::vector<TableRowId> b = other->rowIndex_;