fix cases master

This commit is contained in:
obdev 2022-12-27 09:08:21 +00:00 committed by ob-robot
parent b2ce07cc06
commit c2bf552dba

View File

@ -204,7 +204,7 @@ int ObRawExprInfoExtractor::add_const(ObRawExpr &expr)
|| T_FUN_SYS_WRAPPER_INNER == 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_SYSDATE == expr.get_expr_type()
|| (T_FUN_SYS_SYSDATE == expr.get_expr_type() && lib::is_mysql_mode())
|| not_calculable_expr(expr)
|| (T_FUN_UDF == expr.get_expr_type()
&& !static_cast<ObUDFRawExpr&>(expr).is_deterministic()))) {