[FEAT MERGE] Functional_index

This commit is contained in:
obdev
2023-04-27 11:11:23 +00:00
committed by ob-robot
parent a52d8673b2
commit c5756c1799
370 changed files with 1728 additions and 821 deletions

View File

@ -28,7 +28,7 @@ namespace sql
{
ObExprSha::ObExprSha(ObIAllocator &alloc)
: ObStringExprOperator(alloc, T_FUN_SYS_SHA, N_SHA, 1)
: ObStringExprOperator(alloc, T_FUN_SYS_SHA, N_SHA, 1, VALID_FOR_GENERATED_COL)
{
}
@ -86,7 +86,7 @@ int ObExprSha::eval_sha(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &expr_datum)
}
ObExprSha2::ObExprSha2(ObIAllocator &alloc)
: ObStringExprOperator(alloc, T_FUN_SYS_SHA2, N_SHA2, 2)
: ObStringExprOperator(alloc, T_FUN_SYS_SHA2, N_SHA2, 2, VALID_FOR_GENERATED_COL)
{
}