make regexp functions be valid for generated column in mysql
This commit is contained in:
@ -237,5 +237,13 @@ int ObExprRegexpLike::eval_regexp_like(
|
||||
return ret;
|
||||
}
|
||||
|
||||
int ObExprRegexpLike::is_valid_for_generated_column(const ObRawExpr*expr,
|
||||
const common::ObIArray<ObRawExpr *> &exprs,
|
||||
bool &is_valid) const {
|
||||
int ret = OB_SUCCESS;
|
||||
is_valid = lib::is_mysql_mode();
|
||||
return ret;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user