patch 4.1 bug fix and remove some secret url

This commit is contained in:
ob-robot
2023-03-19 19:22:48 +08:00
parent 8ce2f275c4
commit 9365c0dd4c
85 changed files with 1094 additions and 374 deletions

View File

@ -227,7 +227,8 @@ ObOptimizerContext(ObSQLSessionInfo *session_info,
px_parallel_rule_ == MANUAL_TABLE_HINT ||
px_parallel_rule_ == SESSION_FORCE_PARALLEL ||
px_parallel_rule_ == MANUAL_TABLE_DOP ||
px_parallel_rule_ == PL_UDF_DAS_FORCE_SERIALIZE;
px_parallel_rule_ == PL_UDF_DAS_FORCE_SERIALIZE ||
px_parallel_rule_ == DBLINK_FORCE_SERIALIZE;
}
inline bool use_intra_parallel() const
{
@ -461,6 +462,8 @@ ObOptimizerContext(ObSQLSessionInfo *session_info,
bool has_trigger() const { return has_trigger_; }
void set_has_pl_udf(bool v) { has_pl_udf_ = v; }
bool has_pl_udf() const { return has_pl_udf_; }
void set_has_dblink(bool v) { has_dblink_ = v; }
bool has_dblink() const { return has_dblink_; }
void set_has_subquery_in_function_table(bool v) { has_subquery_in_function_table_ = v; }
bool has_subquery_in_function_table() const { return has_subquery_in_function_table_; }
bool contain_nested_sql() const { return nested_sql_flags_ > 0; }
@ -537,6 +540,7 @@ private:
int8_t has_trigger_ : 1; //this sql has trigger object
int8_t has_pl_udf_ : 1; //this sql has pl user defined function
int8_t has_subquery_in_function_table_ : 1; //this stmt has function table
int8_t has_dblink_ : 1; //this stmt has dblink table
};
};
bool has_for_update_;