Fix remote execution error 4016
This commit is contained in:
@ -2373,7 +2373,7 @@ int ObSelectResolver::is_need_check_col_dup(const ObRawExpr *expr, bool &need_ch
|
||||
if (OB_ISNULL(expr)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("is null", K(ret));
|
||||
} else if (!params_.is_prepare_protocol_ || !params_.is_by_ordinal_) {
|
||||
} else if (params_.need_check_col_dup_) {
|
||||
need_check = true;
|
||||
} else if (T_QUESTIONMARK == expr->get_expr_type()) {
|
||||
need_check = false;
|
||||
|
||||
@ -341,7 +341,7 @@ struct ObResolverParams
|
||||
hidden_column_scope_(T_NONE_SCOPE),
|
||||
outline_parse_result_(NULL),
|
||||
is_execute_call_stmt_(false),
|
||||
is_by_ordinal_(false)
|
||||
need_check_col_dup_(true)
|
||||
{}
|
||||
bool is_force_trace_log() { return force_trace_log_; }
|
||||
|
||||
@ -404,7 +404,7 @@ public:
|
||||
ObStmtScope hidden_column_scope_; // record scope for first hidden column which need check hidden_column_visable in opt_param hint
|
||||
ParseResult *outline_parse_result_;
|
||||
bool is_execute_call_stmt_;
|
||||
bool is_by_ordinal_;
|
||||
bool need_check_col_dup_;
|
||||
};
|
||||
} // end namespace sql
|
||||
} // end namespace oceanbase
|
||||
|
||||
Reference in New Issue
Block a user