to issue<52980102>:Fix coding standard issue
This commit is contained in:
@ -164,8 +164,8 @@ int ObExprCollectionConstruct::eval_collection_construct(const ObExpr &expr,
|
||||
LOG_WARN("not support", K(ret));
|
||||
#else
|
||||
pl::ObPLCollection *coll = NULL;
|
||||
auto session = ctx.exec_ctx_.get_my_session();
|
||||
auto &exec_ctx = ctx.exec_ctx_;
|
||||
ObSQLSessionInfo *session = ctx.exec_ctx_.get_my_session();
|
||||
ObExecContext &exec_ctx = ctx.exec_ctx_;
|
||||
const ExtraInfo *info = static_cast<const ExtraInfo *>(expr.extra_info_);
|
||||
CK(NULL != info);
|
||||
// check types
|
||||
|
||||
@ -116,8 +116,8 @@ int ObExprObjectConstruct::cg_expr(ObExprCGCtx &op_cg_ctx,
|
||||
int ObExprObjectConstruct::newx(ObEvalCtx &ctx, ObObj &result, uint64_t udt_id)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
auto session = ctx.exec_ctx_.get_my_session();
|
||||
auto &exec_ctx = ctx.exec_ctx_;
|
||||
ObSQLSessionInfo *session = ctx.exec_ctx_.get_my_session();
|
||||
ObExecContext &exec_ctx = ctx.exec_ctx_;
|
||||
ObIAllocator &alloc = ctx.exec_ctx_.get_allocator();
|
||||
pl::ObPLPackageGuard package_guard(session->get_effective_tenant_id());
|
||||
pl::ObPLResolveCtx resolve_ctx(alloc,
|
||||
|
||||
Reference in New Issue
Block a user