occupy fields on master for ob_gis_42x branch

This commit is contained in:
lyxiong0 2023-11-27 08:28:26 +00:00 committed by ob-robot
parent 76f69d933f
commit 9e6412efa6
2 changed files with 5 additions and 1 deletions

View File

@ -111,12 +111,14 @@ ObPhysicalPlanCtx::ObPhysicalPlanCtx(common::ObIAllocator &allocator)
is_ps_protocol_(false),
plan_start_time_(0),
is_ps_rewrite_sql_(false),
spm_ts_timeout_us_(0)
spm_ts_timeout_us_(0),
subschema_ctx_(allocator_)
{
}
ObPhysicalPlanCtx::~ObPhysicalPlanCtx()
{
subschema_ctx_.destroy();
}
void ObPhysicalPlanCtx::restore_param_store(const int64_t original_param_cnt)

View File

@ -23,6 +23,7 @@
#include "sql/plan_cache/ob_plan_cache_util.h"
#include "sql/engine/user_defined_function/ob_udf_ctx_mgr.h"
#include "sql/engine/expr/ob_expr.h"
#include "sql/engine/ob_subschema_ctx.h"
namespace oceanbase
{
namespace sql
@ -594,6 +595,7 @@ private:
bool is_ps_rewrite_sql_;
// timeout use by spm, don't need to serialize
int64_t spm_ts_timeout_us_;
ObSubSchemaCtx subschema_ctx_;
};
}