[FEAT MERGE] Solidify session vars for functional index
This commit is contained in:
@ -516,6 +516,13 @@ int ObExprLowerUpper::calc_nls_common(const ObExpr &expr, ObEvalCtx &ctx,
|
||||
return ret;
|
||||
}
|
||||
|
||||
DEF_SET_LOCAL_SESSION_VARS(ObExprLowerUpper, raw_expr) {
|
||||
int ret = OB_SUCCESS;
|
||||
SET_LOCAL_SYSVAR_CAPACITY(1);
|
||||
EXPR_ADD_LOCAL_SYSVAR(share::SYS_VAR_COLLATION_CONNECTION);
|
||||
return ret;
|
||||
}
|
||||
|
||||
int ObExprLower::calc_lower(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &expr_datum)
|
||||
{
|
||||
return calc_common(expr, ctx, expr_datum, true, CS_TYPE_INVALID);
|
||||
|
||||
Reference in New Issue
Block a user