[dbms_stats][direct load]: append hint should only print once.
This commit is contained in:
parent
c3e6700f34
commit
3369c117c3
@ -331,7 +331,7 @@ bool ObGlobalHint::has_hint_exclude_concurrent() const
|
||||
|| !dops_.empty()
|
||||
|| false != disable_transform_
|
||||
|| false != disable_cost_based_transform_
|
||||
|| false != enable_append_
|
||||
|| false != has_append()
|
||||
|| !opt_params_.empty()
|
||||
|| !ob_ddl_schema_versions_.empty()
|
||||
|| has_gather_opt_stat_hint()
|
||||
@ -363,7 +363,6 @@ void ObGlobalHint::reset()
|
||||
disable_cost_based_transform_ = false;
|
||||
opt_params_.reset();
|
||||
ob_ddl_schema_versions_.reuse();
|
||||
enable_append_ = false;
|
||||
osg_hint_.flags_ = 0;
|
||||
has_dbms_stats_hint_ = false;
|
||||
flashback_read_tx_uncommitted_ = false;
|
||||
@ -392,7 +391,6 @@ int ObGlobalHint::merge_global_hint(const ObGlobalHint &other)
|
||||
merge_opt_features_version_hint(other.opt_features_version_);
|
||||
disable_transform_ |= other.disable_transform_;
|
||||
disable_cost_based_transform_ |= other.disable_cost_based_transform_;
|
||||
enable_append_ |= other.enable_append_;
|
||||
osg_hint_.flags_ |= other.osg_hint_.flags_;
|
||||
has_dbms_stats_hint_ |= other.has_dbms_stats_hint_;
|
||||
flashback_read_tx_uncommitted_ |= other.flashback_read_tx_uncommitted_;
|
||||
@ -563,9 +561,6 @@ int ObGlobalHint::print_global_hint(PlanText &plan_text) const
|
||||
if (OB_SUCC(ret) && disable_cost_based_transform()) {
|
||||
PRINT_GLOBAL_HINT_STR("NO_COST_BASED_QUERY_TRANSFORMATION");
|
||||
}
|
||||
if (OB_SUCC(ret) && has_append()) { // APPEND
|
||||
PRINT_GLOBAL_HINT_STR("APPEND");
|
||||
}
|
||||
if (OB_SUCC(ret) && UNSET_DYNAMIC_SAMPLING != dynamic_sampling_) { //DYNAMIC SAMPLING
|
||||
PRINT_GLOBAL_HINT_NUM("DYNAMIC_SAMPLING", dynamic_sampling_);
|
||||
}
|
||||
|
@ -276,7 +276,6 @@ struct ObGlobalHint {
|
||||
K_(opt_features_version),
|
||||
K_(disable_transform),
|
||||
K_(disable_cost_based_transform),
|
||||
K_(enable_append),
|
||||
K_(opt_params),
|
||||
K_(ob_ddl_schema_versions),
|
||||
K_(osg_hint),
|
||||
@ -304,7 +303,6 @@ struct ObGlobalHint {
|
||||
uint64_t opt_features_version_;
|
||||
bool disable_transform_;
|
||||
bool disable_cost_based_transform_;
|
||||
bool enable_append_;
|
||||
ObOptParamHint opt_params_;
|
||||
common::ObSArray<ObDDLSchemaVersionHint> ob_ddl_schema_versions_;
|
||||
ObOptimizerStatisticsGatheringHint osg_hint_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user