[FEAT MERGE] implement mysql dblink and read consistency
Co-authored-by: xianyu-w <707512433@qq.com> Co-authored-by: sdc <njucssdc@gmail.com> Co-authored-by: seuwebber <webber_code@163.com>
This commit is contained in:
@ -174,6 +174,8 @@ struct ObGlobalHint {
|
||||
bool disable_cost_based_transform() const { return disable_cost_based_transform_; }
|
||||
inline bool has_dbms_stats_hint() const { return has_dbms_stats_hint_; }
|
||||
inline void set_dbms_stats() { has_dbms_stats_hint_ = true; }
|
||||
bool get_flashback_read_tx_uncommitted() const { return flashback_read_tx_uncommitted_; }
|
||||
void set_flashback_read_tx_uncommitted(bool v) { flashback_read_tx_uncommitted_ = v; }
|
||||
bool has_append() const {
|
||||
return (osg_hint_.flags_ & ObOptimizerStatisticsGatheringHint::OB_APPEND_HINT) ? true : false;
|
||||
}
|
||||
@ -261,6 +263,7 @@ struct ObGlobalHint {
|
||||
common::ObSArray<ObDDLSchemaVersionHint> ob_ddl_schema_versions_;
|
||||
ObOptimizerStatisticsGatheringHint osg_hint_;
|
||||
bool has_dbms_stats_hint_;
|
||||
bool flashback_read_tx_uncommitted_;
|
||||
int64_t dynamic_sampling_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user