Fix PredicateMoveAround and PredicateDecude bugs

This commit is contained in:
obdev
2023-02-09 16:33:38 +00:00
committed by ob-robot
parent 66f14cfab9
commit 772bdd60eb
7 changed files with 668 additions and 15 deletions

View File

@ -275,7 +275,8 @@ struct ObPCConstParamInfo
TO_STRING_KV(K_(const_idx), K_(const_params));
bool operator==(const ObPCConstParamInfo &other) const
{
bool cmp_ret = true;
bool cmp_ret = const_idx_.count() == other.const_idx_.count()
&& const_params_.count() == other.const_params_.count();
for (int i=0; cmp_ret && i < const_idx_.count(); i++) {
cmp_ret = const_idx_.at(i) == other.const_idx_.at(i);
}