remove enable_pg parameter config

This commit is contained in:
zh0
2021-09-08 23:00:08 +08:00
committed by wangzelin.wzl
parent 79f1a13d71
commit 81ec0c135d
3 changed files with 19 additions and 8 deletions

View File

@ -167,4 +167,22 @@
#define ERRSIM_DEF_WORK_AREA_POLICY(args...)
#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

View File

@ -109,7 +109,7 @@ DEF_TIME(trace_log_slow_query_watermark, OB_CLUSTER_PARAMETER, "1s", "[1ms,]",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(enable_one_phase_commit, OB_CLUSTER_PARAMETER, "False", "enable one phase commit optimization",
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));
DEF_BOOL(enable_record_trace_log, OB_CLUSTER_PARAMETER, "False",
"specifies whether to always record the trace log. The default value is False.",

View File

@ -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)) {
// nothing todo
} else if (OB_ISNULL(node->children_[TABLEGROUP_OPTION])) {