add optimzer version control system variable OPTIMIZER_FEATURES_ENABLE
This commit is contained in:
@ -652,6 +652,10 @@ int ObVariableSetExecutor::update_global_variables(ObExecContext &ctx,
|
||||
LOG_USER_ERROR(OB_INVALID_ARGUMENT,
|
||||
"max_read_stale_time is smaller than weak_read_version_refresh_interval");
|
||||
}
|
||||
} else if (set_var.var_name_ == OB_SV_OPTIMIZER_FEATURES_ENABLE) {
|
||||
if (OB_FAIL(ObBasicSessionInfo::check_optimizer_features_enable_valid(val))) {
|
||||
LOG_WARN("fail check optimizer_features_enable valid", K(val), K(ret));
|
||||
}
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret) && should_update_extra_var) {
|
||||
|
||||
Reference in New Issue
Block a user