[FEAT MERGE] Fix the error code loss and overwriting issues on the master branch
Co-authored-by: jingtaoye35 <1255153887@qq.com> Co-authored-by: fkuner <784819644@qq.com> Co-authored-by: lucky-sinx <2549261744@qq.com>
This commit is contained in:
@ -115,7 +115,7 @@ int ObVariableSetExecutor::execute(ObExecContext &ctx, ObVariableSetStmt &stmt)
|
||||
if (OB_ISNULL(expr_ctx.exec_ctx_)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_ERROR("expr_ctx.exec_ctx_ is NULL", K(ret));
|
||||
} else if (password_ctx.init(stmt.get_actual_tenant_id())) {
|
||||
} else if (OB_FAIL(password_ctx.init(stmt.get_actual_tenant_id()))) {
|
||||
LOG_WARN("fail to init password ctx", K(ret));
|
||||
} else {
|
||||
expr_ctx.exec_ctx_->set_sql_proxy(sql_proxy);
|
||||
|
||||
Reference in New Issue
Block a user