[SCN] fix farm failure

This commit is contained in:
obdev
2022-11-28 02:58:33 +00:00
committed by ob-robot
parent 87a9357186
commit 51de5b5911
594 changed files with 9722 additions and 7770 deletions

View File

@ -58,6 +58,24 @@ class ObIVirtualTableIteratorFactory;
struct ObSqlCtx;
class ObResultSet;
class ObPlanBaseKeyGuard
{
public:
explicit ObPlanBaseKeyGuard(ObBaselineKey &bl_key)
: bl_key_(bl_key),
ori_bl_key_(bl_key) {}
~ObPlanBaseKeyGuard()
{
bl_key_ = ori_bl_key_;
}
private:
// disallow copy
ObPlanBaseKeyGuard(const ObPlanBaseKeyGuard &other);
private:
ObBaselineKey &bl_key_;
ObBaselineKey ori_bl_key_;
};
// this class is the main interface for sql module
class ObSql
{