DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE need return correct baseline number load from plan cache

This commit is contained in:
obdev
2023-07-11 04:48:16 +00:00
committed by ob-robot
parent ceeb9e31f6
commit b4511b899d
4 changed files with 26 additions and 0 deletions

View File

@ -8592,5 +8592,16 @@ int ObBroadcastConsensusVersionArg::assign(const ObBroadcastConsensusVersionArg
}
OB_SERIALIZE_MEMBER(ObBroadcastConsensusVersionRes, ret_);
int ObLoadBaselineRes::assign(const ObLoadBaselineRes &other)
{
int ret = OB_SUCCESS;
if (this != &other) {
load_count_ = other.load_count_;
}
return ret;
}
OB_SERIALIZE_MEMBER(ObLoadBaselineRes, load_count_);
}//end namespace obrpc
}//end namepsace oceanbase