bug fix to open source branch

This commit is contained in:
obdev
2021-07-21 14:15:14 +08:00
committed by wangzelin.wzl
parent 80fad5f4a8
commit a9e70b7bcd
23 changed files with 245 additions and 81 deletions

View File

@ -53,7 +53,7 @@ ObPhyOperator::ObPhyOperator(ObIAllocator& alloc)
is_exact_rows_(false),
type_(PHY_INVALID),
plan_depth_(0),
op_schema_objs_()
op_schema_objs_(alloc)
{}
ObPhyOperator::~ObPhyOperator()
@ -1169,5 +1169,14 @@ int ObPhyOperator::try_open_and_get_operator_ctx(
return ret;
}
int ObPhyOperator::init_op_schema_obj(int64_t count)
{
int ret = OB_SUCCESS;
if (OB_FAIL(op_schema_objs_.init(count))) {
LOG_WARN("fail to init op schema obj", K(ret), K(count));
}
return ret;
}
} // namespace sql
} // namespace oceanbase