disable partial_lob and replace with _enable_dbms_lob_partial_update config

This commit is contained in:
shadowao
2024-04-08 12:43:34 +00:00
committed by ob-robot
parent 3e8454c918
commit e00c5f80ef
3 changed files with 9 additions and 1 deletions

View File

@ -1907,3 +1907,6 @@ DEF_BOOL(strict_check_os_params, OB_CLUSTER_PARAMETER, "False",
DEF_BOOL(_enable_memleak_light_backtrace, OB_CLUSTER_PARAMETER, "True", DEF_BOOL(_enable_memleak_light_backtrace, OB_CLUSTER_PARAMETER, "True",
"specifies whether allow memleak to get the backtrace of malloc by light_backtrace", "specifies whether allow memleak to get the backtrace of malloc by light_backtrace",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)); ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(_enable_dbms_lob_partial_update, OB_TENANT_PARAMETER, "False",
"Enable the capability of dbms_lob to perform partial updates on LOB",
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));

View File

@ -2082,7 +2082,11 @@ int ObSysVarOnCheckFuncs::check_log_row_value_option_is_valid(sql::ObExecContext
ret = OB_ERR_PARAM_VALUE_INVALID; ret = OB_ERR_PARAM_VALUE_INVALID;
LOG_USER_ERROR(OB_ERR_PARAM_VALUE_INVALID); LOG_USER_ERROR(OB_ERR_PARAM_VALUE_INVALID);
} else { } else {
out_val = in_val; // because not adapat obcdc, currently partial_lob is disabled
// out_val = in_val;
ret = OB_NOT_SUPPORTED;
LOG_WARN("partial_lob is not support, please use _enable_dbms_lob_partial_update instead", K(ret), K(in_val));
LOG_USER_ERROR(OB_NOT_SUPPORTED, "partial_lob");
} }
} else { } else {
out_val = in_val; out_val = in_val;

View File

@ -287,6 +287,7 @@ _enable_column_store
_enable_compaction_diagnose _enable_compaction_diagnose
_enable_convert_real_to_decimal _enable_convert_real_to_decimal
_enable_dblink_reuse_connection _enable_dblink_reuse_connection
_enable_dbms_lob_partial_update
_enable_decimal_int_type _enable_decimal_int_type
_enable_defensive_check _enable_defensive_check
_enable_easy_keepalive _enable_easy_keepalive