to issue<51613550>:fix core when upate plsql_ccflag var
This commit is contained in:
@ -6310,7 +6310,7 @@ int ObExecEnv::init(const ObString &exec_env)
|
||||
#undef SET_ENV_VALUE
|
||||
#undef GET_ENV_VALUE
|
||||
|
||||
int ObExecEnv::load(ObBasicSessionInfo &session)
|
||||
int ObExecEnv::load(ObBasicSessionInfo &session, ObIAllocator *alloc)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
ObObj val;
|
||||
@ -6339,7 +6339,11 @@ int ObExecEnv::load(ObBasicSessionInfo &session)
|
||||
}
|
||||
break;
|
||||
case PLSQL_CCFLAGS: {
|
||||
plsql_ccflags_ = val.get_varchar();
|
||||
if (OB_NOT_NULL(alloc)) {
|
||||
OZ (ob_write_string(*alloc, val.get_varchar(), plsql_ccflags_));
|
||||
} else {
|
||||
plsql_ccflags_ = val.get_varchar();
|
||||
}
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
|
||||
Reference in New Issue
Block a user