[CP] enhance GTT
This commit is contained in:
@ -749,6 +749,7 @@ int ObRawExpr::is_const_inherit_expr(bool &is_const_inherit,
|
||||
|| (T_FUN_SYS_LAST_INSERT_ID == type_ && get_param_count() > 0)
|
||||
|| T_FUN_SYS_TO_BLOB == type_
|
||||
|| (T_FUN_SYS_SYSDATE == type_ && lib::is_mysql_mode())
|
||||
|| T_FUN_GET_TEMP_TABLE_SESSID == type_
|
||||
|| (param_need_replace ? is_not_calculable_expr() : cnt_not_calculable_expr())
|
||||
|| (T_FUN_UDF == type_
|
||||
&& !static_cast<const ObUDFRawExpr*>(this)->is_deterministic())) {
|
||||
|
||||
Reference in New Issue
Block a user