fix mysqltest introduced by deduce redundant preds
This commit is contained in:
@ -9016,3 +9016,13 @@ int ObOptimizerUtil::split_or_filter_into_subquery(ObIArray<const ObDMLStmt *> &
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool ObOptimizerUtil::find_superset(const ObRelIds &rel_ids,
|
||||
const ObIArray<ObRelIds> &single_table_ids)
|
||||
{
|
||||
bool bret = false;
|
||||
for (int64_t i = 0; !bret && i < single_table_ids.count(); ++i) {
|
||||
bret = (single_table_ids.at(i).is_superset(rel_ids));
|
||||
}
|
||||
return bret;
|
||||
}
|
||||
Reference in New Issue
Block a user