revise some expr flags
This commit is contained in:
@ -204,6 +204,7 @@ int ObRawExprInfoExtractor::add_const(ObRawExpr &expr)
|
|||||||
|| T_FUN_SYS_WRAPPER_INNER == expr.get_expr_type()
|
|| T_FUN_SYS_WRAPPER_INNER == expr.get_expr_type()
|
||||||
|| T_FUN_SYS_LAST_INSERT_ID == expr.get_expr_type()
|
|| T_FUN_SYS_LAST_INSERT_ID == expr.get_expr_type()
|
||||||
|| T_FUN_SYS_TO_BLOB == expr.get_expr_type()
|
|| T_FUN_SYS_TO_BLOB == expr.get_expr_type()
|
||||||
|
|| T_FUN_SYS_SYSDATE == expr.get_expr_type()
|
||||||
|| not_calculable_expr(expr)
|
|| not_calculable_expr(expr)
|
||||||
|| (T_FUN_UDF == expr.get_expr_type()
|
|| (T_FUN_UDF == expr.get_expr_type()
|
||||||
&& !static_cast<ObUDFRawExpr&>(expr).is_deterministic()))) {
|
&& !static_cast<ObUDFRawExpr&>(expr).is_deterministic()))) {
|
||||||
@ -524,8 +525,6 @@ int ObRawExprInfoExtractor::visit(ObSysFunRawExpr &expr)
|
|||||||
|| T_FUN_SYS_PART_ID == expr.get_expr_type()
|
|| T_FUN_SYS_PART_ID == expr.get_expr_type()
|
||||||
|| T_OP_GET_PACKAGE_VAR == expr.get_expr_type()
|
|| T_OP_GET_PACKAGE_VAR == expr.get_expr_type()
|
||||||
|| T_OP_GET_SUBPROGRAM_VAR == expr.get_expr_type()
|
|| T_OP_GET_SUBPROGRAM_VAR == expr.get_expr_type()
|
||||||
|| T_FUN_SYS_USER == expr.get_expr_type()
|
|
||||||
|| T_FUN_SYS_UID == expr.get_expr_type()
|
|
||||||
|| (T_FUN_SYS_SYSDATE == expr.get_expr_type() && !lib::is_oracle_mode())
|
|| (T_FUN_SYS_SYSDATE == expr.get_expr_type() && !lib::is_oracle_mode())
|
||||||
|| T_FUN_SYS_SLEEP == expr.get_expr_type()
|
|| T_FUN_SYS_SLEEP == expr.get_expr_type()
|
||||||
|| T_FUN_NORMAL_UDF == expr.get_expr_type()
|
|| T_FUN_NORMAL_UDF == expr.get_expr_type()
|
||||||
|
|||||||
Reference in New Issue
Block a user