make state func not to be shared
This commit is contained in:
		@ -3667,7 +3667,9 @@ bool ObSysFunRawExpr::inner_same_as(
 | 
				
			|||||||
             T_FUN_SYS_RANDOM == get_expr_type() ||
 | 
					             T_FUN_SYS_RANDOM == get_expr_type() ||
 | 
				
			||||||
             T_FUN_SYS_GUID == get_expr_type() ||
 | 
					             T_FUN_SYS_GUID == get_expr_type() ||
 | 
				
			||||||
             T_OP_GET_USER_VAR == get_expr_type() ||
 | 
					             T_OP_GET_USER_VAR == get_expr_type() ||
 | 
				
			||||||
             T_OP_GET_SYS_VAR == get_expr_type()) {
 | 
					             T_OP_GET_SYS_VAR == get_expr_type() ||
 | 
				
			||||||
 | 
					             (has_flag(IS_STATE_FUNC) && (NULL == check_context ||
 | 
				
			||||||
 | 
					                          (NULL != check_context && check_context->need_check_deterministic_)))) {
 | 
				
			||||||
  } else if (get_expr_class() == expr.get_expr_class()) {
 | 
					  } else if (get_expr_class() == expr.get_expr_class()) {
 | 
				
			||||||
    //for EXPR_UDF and EXPR_SYS_FUNC
 | 
					    //for EXPR_UDF and EXPR_SYS_FUNC
 | 
				
			||||||
    const ObSysFunRawExpr *s_expr = static_cast<const ObSysFunRawExpr *>(&expr);
 | 
					    const ObSysFunRawExpr *s_expr = static_cast<const ObSysFunRawExpr *>(&expr);
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user