remove enable_pg parameter config
This commit is contained in:
@ -167,4 +167,22 @@
|
|||||||
#define ERRSIM_DEF_WORK_AREA_POLICY(args...)
|
#define ERRSIM_DEF_WORK_AREA_POLICY(args...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define DEPRECATED_DEF_INT(args...)
|
||||||
|
#define DEPRECATED_DEF_INT_WITH_CHECKER(args...)
|
||||||
|
#define DEPRECATED_DEF_DBL(args...)
|
||||||
|
#define DEPRECATED_DEF_CAP(args...)
|
||||||
|
#define DEPRECATED_DEF_CAP_WITH_CHECKER(args...)
|
||||||
|
#define DEPRECATED_DEF_TIME(args...)
|
||||||
|
#define DEPRECATED_DEF_TIME_WITH_CHECKER(args...)
|
||||||
|
#define DEPRECATED_DEF_BOOL(args...)
|
||||||
|
#define DEPRECATED_DEF_STR(args...)
|
||||||
|
#define DEPRECATED_DEF_STR_WITH_CHECKER(args...)
|
||||||
|
#define DEPRECATED_DEF_IP(args...)
|
||||||
|
#define DEPRECATED_DEF_MOMENT(args...)
|
||||||
|
#define DEPRECATED_DEF_INT_LIST(args...)
|
||||||
|
#define DEPRECATED_DEF_STR_LIST(args...)
|
||||||
|
#define DEPRECATED_DEF_LOG_ARCHIVE_OPTIONS_WITH_CHECKER(args...)
|
||||||
|
#define DEPRECATED_DEF_LOG_LEVEL(args...)
|
||||||
|
#define DEPRECATED_DEF_WORK_AREA_POLICY(args...)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -109,7 +109,7 @@ DEF_TIME(trace_log_slow_query_watermark, OB_CLUSTER_PARAMETER, "1s", "[1ms,]",
|
|||||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
DEF_BOOL(enable_one_phase_commit, OB_CLUSTER_PARAMETER, "False", "enable one phase commit optimization",
|
DEF_BOOL(enable_one_phase_commit, OB_CLUSTER_PARAMETER, "False", "enable one phase commit optimization",
|
||||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
DEF_BOOL(enable_pg, OB_CLUSTER_PARAMETER, "False", "open partition group",
|
DEPRECATED_DEF_BOOL(enable_pg, OB_CLUSTER_PARAMETER, "False", "open partition group",
|
||||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
DEF_BOOL(enable_record_trace_log, OB_CLUSTER_PARAMETER, "False",
|
DEF_BOOL(enable_record_trace_log, OB_CLUSTER_PARAMETER, "False",
|
||||||
"specifies whether to always record the trace log. The default value is False.",
|
"specifies whether to always record the trace log. The default value is False.",
|
||||||
|
|||||||
@ -91,13 +91,6 @@ int ObCreateTablegroupResolver::resolve(const ParseNode& parse_tree)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OB_SUCC(ret)) {
|
|
||||||
if (GCONF.enable_pg) {
|
|
||||||
create_tablegroup_stmt->set_binding(true);
|
|
||||||
} else {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (OB_FAIL(ret)) {
|
if (OB_FAIL(ret)) {
|
||||||
// nothing todo
|
// nothing todo
|
||||||
} else if (OB_ISNULL(node->children_[TABLEGROUP_OPTION])) {
|
} else if (OB_ISNULL(node->children_[TABLEGROUP_OPTION])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user