[CP] Add system variable default_storage_engine

This commit is contained in:
LINxiansheng
2022-08-08 16:09:22 +08:00
committed by wangzelin.wzl
parent ba11b4ac6b
commit 9cc87d8343
10 changed files with 1119 additions and 1050 deletions

View File

@ -105,6 +105,7 @@ enum ObSysVarClassType
SYS_VAR_SESSION_TRACK_SCHEMA = 81, SYS_VAR_SESSION_TRACK_SCHEMA = 81,
SYS_VAR_SESSION_TRACK_SYSTEM_VARIABLES = 82, SYS_VAR_SESSION_TRACK_SYSTEM_VARIABLES = 82,
SYS_VAR_SESSION_TRACK_STATE_CHANGE = 83, SYS_VAR_SESSION_TRACK_STATE_CHANGE = 83,
SYS_VAR_DEFAULT_STORAGE_ENGINE = 93,
SYS_VAR_OB_DEFAULT_REPLICA_NUM = 10000, SYS_VAR_OB_DEFAULT_REPLICA_NUM = 10000,
SYS_VAR_OB_INTERM_RESULT_MEM_LIMIT = 10001, SYS_VAR_OB_INTERM_RESULT_MEM_LIMIT = 10001,
SYS_VAR_OB_PROXY_PARTITION_HIT = 10002, SYS_VAR_OB_PROXY_PARTITION_HIT = 10002,

View File

@ -104,6 +104,7 @@ namespace share
static const char* const OB_SV_SESSION_TRACK_SCHEMA = "session_track_schema"; static const char* const OB_SV_SESSION_TRACK_SCHEMA = "session_track_schema";
static const char* const OB_SV_SESSION_TRACK_SYSTEM_VARIABLES = "session_track_system_variables"; static const char* const OB_SV_SESSION_TRACK_SYSTEM_VARIABLES = "session_track_system_variables";
static const char* const OB_SV_SESSION_TRACK_STATE_CHANGE = "session_track_state_change"; static const char* const OB_SV_SESSION_TRACK_STATE_CHANGE = "session_track_state_change";
static const char* const OB_SV_DEFAULT_STORAGE_ENGINE = "default_storage_engine";
static const char* const OB_SV_DEFAULT_REPLICA_NUM = "ob_default_replica_num"; static const char* const OB_SV_DEFAULT_REPLICA_NUM = "ob_default_replica_num";
static const char* const OB_SV_INTERM_RESULT_MEM_LIMIT = "ob_interm_result_mem_limit"; static const char* const OB_SV_INTERM_RESULT_MEM_LIMIT = "ob_interm_result_mem_limit";
static const char* const OB_SV_PROXY_PARTITION_HIT = "ob_proxy_partition_hit"; static const char* const OB_SV_PROXY_PARTITION_HIT = "ob_proxy_partition_hit";

View File

@ -140,6 +140,7 @@ const char *ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_NAME[] = {
"debug_sync", "debug_sync",
"default_authentication_plugin", "default_authentication_plugin",
"default_password_lifetime", "default_password_lifetime",
"default_storage_engine",
"disabled_storage_engines", "disabled_storage_engines",
"div_precision_increment", "div_precision_increment",
"error_count", "error_count",
@ -341,6 +342,7 @@ const ObSysVarClassType ObSysVarFactory::SYS_VAR_IDS_SORTED_BY_NAME[] = {
SYS_VAR_DEBUG_SYNC, SYS_VAR_DEBUG_SYNC,
SYS_VAR_DEFAULT_AUTHENTICATION_PLUGIN, SYS_VAR_DEFAULT_AUTHENTICATION_PLUGIN,
SYS_VAR_DEFAULT_PASSWORD_LIFETIME, SYS_VAR_DEFAULT_PASSWORD_LIFETIME,
SYS_VAR_DEFAULT_STORAGE_ENGINE,
SYS_VAR_DISABLED_STORAGE_ENGINES, SYS_VAR_DISABLED_STORAGE_ENGINES,
SYS_VAR_DIV_PRECISION_INCREMENT, SYS_VAR_DIV_PRECISION_INCREMENT,
SYS_VAR_ERROR_COUNT, SYS_VAR_ERROR_COUNT,
@ -589,6 +591,7 @@ const char *ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_ID[] = {
"session_track_schema", "session_track_schema",
"session_track_system_variables", "session_track_system_variables",
"session_track_state_change", "session_track_state_change",
"default_storage_engine",
"ob_default_replica_num", "ob_default_replica_num",
"ob_interm_result_mem_limit", "ob_interm_result_mem_limit",
"ob_proxy_partition_hit", "ob_proxy_partition_hit",
@ -950,6 +953,7 @@ int ObSysVarFactory::create_all_sys_vars()
+ sizeof(ObSysVarSessionTrackSchema) + sizeof(ObSysVarSessionTrackSchema)
+ sizeof(ObSysVarSessionTrackSystemVariables) + sizeof(ObSysVarSessionTrackSystemVariables)
+ sizeof(ObSysVarSessionTrackStateChange) + sizeof(ObSysVarSessionTrackStateChange)
+ sizeof(ObSysVarDefaultStorageEngine)
+ sizeof(ObSysVarObDefaultReplicaNum) + sizeof(ObSysVarObDefaultReplicaNum)
+ sizeof(ObSysVarObIntermResultMemLimit) + sizeof(ObSysVarObIntermResultMemLimit)
+ sizeof(ObSysVarObProxyPartitionHit) + sizeof(ObSysVarObProxyPartitionHit)
@ -1828,6 +1832,15 @@ int ObSysVarFactory::create_all_sys_vars()
ptr = (void *)((char *)ptr + sizeof(ObSysVarSessionTrackStateChange)); ptr = (void *)((char *)ptr + sizeof(ObSysVarSessionTrackStateChange));
} }
} }
if (OB_SUCC(ret)) {
if (OB_ISNULL(sys_var_ptr = new (ptr)ObSysVarDefaultStorageEngine())) {
ret = OB_ALLOCATE_MEMORY_FAILED;
LOG_ERROR("fail to new ObSysVarDefaultStorageEngine", K(ret));
} else {
store_buf_[ObSysVarsToIdxMap::get_store_idx(static_cast<int64_t>(SYS_VAR_DEFAULT_STORAGE_ENGINE))] = sys_var_ptr;
ptr = (void *)((char *)ptr + sizeof(ObSysVarDefaultStorageEngine));
}
}
if (OB_SUCC(ret)) { if (OB_SUCC(ret)) {
if (OB_ISNULL(sys_var_ptr = new (ptr)ObSysVarObDefaultReplicaNum())) { if (OB_ISNULL(sys_var_ptr = new (ptr)ObSysVarObDefaultReplicaNum())) {
ret = OB_ALLOCATE_MEMORY_FAILED; ret = OB_ALLOCATE_MEMORY_FAILED;
@ -3804,6 +3817,17 @@ int ObSysVarFactory::create_sys_var(ObSysVarClassType sys_var_id, ObBasicSysVar
} }
break; break;
} }
case SYS_VAR_DEFAULT_STORAGE_ENGINE: {
void *ptr = NULL;
if (OB_ISNULL(ptr = allocator_.alloc(sizeof(ObSysVarDefaultStorageEngine)))) {
ret = OB_ALLOCATE_MEMORY_FAILED;
LOG_ERROR("fail to alloc memory", K(ret), K(sizeof(ObSysVarDefaultStorageEngine)));
} else if (OB_ISNULL(sys_var_ptr = new (ptr)ObSysVarDefaultStorageEngine())) {
ret = OB_ALLOCATE_MEMORY_FAILED;
LOG_ERROR("fail to new ObSysVarDefaultStorageEngine", K(ret));
}
break;
}
case SYS_VAR_OB_DEFAULT_REPLICA_NUM: { case SYS_VAR_OB_DEFAULT_REPLICA_NUM: {
void *ptr = NULL; void *ptr = NULL;
if (OB_ISNULL(ptr = allocator_.alloc(sizeof(ObSysVarObDefaultReplicaNum)))) { if (OB_ISNULL(ptr = allocator_.alloc(sizeof(ObSysVarObDefaultReplicaNum)))) {

View File

@ -615,47 +615,54 @@ public:
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SESSION_TRACK_STATE_CHANGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SESSION_TRACK_STATE_CHANGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(83); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(83); }
}; };
class ObSysVarDefaultStorageEngine : public ObVarcharSysVar
{
public:
ObSysVarDefaultStorageEngine() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_DEFAULT_STORAGE_ENGINE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(84); }
};
class ObSysVarObDefaultReplicaNum : public ObIntSysVar class ObSysVarObDefaultReplicaNum : public ObIntSysVar
{ {
public: public:
ObSysVarObDefaultReplicaNum() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObDefaultReplicaNum() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_DEFAULT_REPLICA_NUM; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_DEFAULT_REPLICA_NUM; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(84); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(85); }
}; };
class ObSysVarObIntermResultMemLimit : public ObIntSysVar class ObSysVarObIntermResultMemLimit : public ObIntSysVar
{ {
public: public:
ObSysVarObIntermResultMemLimit() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObIntermResultMemLimit() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_INTERM_RESULT_MEM_LIMIT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_INTERM_RESULT_MEM_LIMIT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(85); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(86); }
}; };
class ObSysVarObProxyPartitionHit : public ObBoolSysVar class ObSysVarObProxyPartitionHit : public ObBoolSysVar
{ {
public: public:
ObSysVarObProxyPartitionHit() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObProxyPartitionHit() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_PARTITION_HIT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_PARTITION_HIT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(86); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(87); }
}; };
class ObSysVarObLogLevel : public ObVarcharSysVar class ObSysVarObLogLevel : public ObVarcharSysVar
{ {
public: public:
ObSysVarObLogLevel() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObLogLevel() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_LOG_LEVEL; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_LOG_LEVEL; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(87); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(88); }
}; };
class ObSysVarObMaxParallelDegree : public ObIntSysVar class ObSysVarObMaxParallelDegree : public ObIntSysVar
{ {
public: public:
ObSysVarObMaxParallelDegree() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObMaxParallelDegree() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_MAX_PARALLEL_DEGREE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_MAX_PARALLEL_DEGREE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(88); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(89); }
}; };
class ObSysVarObQueryTimeout : public ObIntSysVar class ObSysVarObQueryTimeout : public ObIntSysVar
{ {
public: public:
ObSysVarObQueryTimeout() : ObIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_timeout_too_large, NULL, NULL, NULL, NULL) {} ObSysVarObQueryTimeout() : ObIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_timeout_too_large, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_QUERY_TIMEOUT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_QUERY_TIMEOUT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(89); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(90); }
}; };
class ObSysVarObReadConsistency : public ObEnumSysVar class ObSysVarObReadConsistency : public ObEnumSysVar
{ {
@ -664,168 +671,168 @@ public:
public: public:
ObSysVarObReadConsistency() : ObEnumSysVar(OB_READ_CONSISTENCY_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarObReadConsistency() : ObEnumSysVar(OB_READ_CONSISTENCY_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_READ_CONSISTENCY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_READ_CONSISTENCY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(90); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(91); }
}; };
class ObSysVarObEnableTransformation : public ObBoolSysVar class ObSysVarObEnableTransformation : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableTransformation() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableTransformation() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRANSFORMATION; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRANSFORMATION; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(91); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(92); }
}; };
class ObSysVarObTrxTimeout : public ObIntSysVar class ObSysVarObTrxTimeout : public ObIntSysVar
{ {
public: public:
ObSysVarObTrxTimeout() : ObIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_timeout_too_large, NULL, NULL, NULL, NULL) {} ObSysVarObTrxTimeout() : ObIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_timeout_too_large, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRX_TIMEOUT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRX_TIMEOUT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(92); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(93); }
}; };
class ObSysVarObEnablePlanCache : public ObBoolSysVar class ObSysVarObEnablePlanCache : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnablePlanCache() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnablePlanCache() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_PLAN_CACHE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_PLAN_CACHE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(93); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(94); }
}; };
class ObSysVarObEnableIndexDirectSelect : public ObBoolSysVar class ObSysVarObEnableIndexDirectSelect : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableIndexDirectSelect() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableIndexDirectSelect() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_INDEX_DIRECT_SELECT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_INDEX_DIRECT_SELECT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(94); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(95); }
}; };
class ObSysVarObProxySetTrxExecuted : public ObBoolSysVar class ObSysVarObProxySetTrxExecuted : public ObBoolSysVar
{ {
public: public:
ObSysVarObProxySetTrxExecuted() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObProxySetTrxExecuted() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_SET_TRX_EXECUTED; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_SET_TRX_EXECUTED; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(95); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(96); }
}; };
class ObSysVarObEnableAggregationPushdown : public ObBoolSysVar class ObSysVarObEnableAggregationPushdown : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableAggregationPushdown() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableAggregationPushdown() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_AGGREGATION_PUSHDOWN; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_AGGREGATION_PUSHDOWN; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(96); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(97); }
}; };
class ObSysVarObLastSchemaVersion : public ObIntSysVar class ObSysVarObLastSchemaVersion : public ObIntSysVar
{ {
public: public:
ObSysVarObLastSchemaVersion() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObLastSchemaVersion() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_LAST_SCHEMA_VERSION; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_LAST_SCHEMA_VERSION; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(97); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(98); }
}; };
class ObSysVarObGlobalDebugSync : public ObVarcharSysVar class ObSysVarObGlobalDebugSync : public ObVarcharSysVar
{ {
public: public:
ObSysVarObGlobalDebugSync() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObGlobalDebugSync() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_GLOBAL_DEBUG_SYNC; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_GLOBAL_DEBUG_SYNC; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(98); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(99); }
}; };
class ObSysVarObProxyGlobalVariablesVersion : public ObIntSysVar class ObSysVarObProxyGlobalVariablesVersion : public ObIntSysVar
{ {
public: public:
ObSysVarObProxyGlobalVariablesVersion() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObProxyGlobalVariablesVersion() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_GLOBAL_VARIABLES_VERSION; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_GLOBAL_VARIABLES_VERSION; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(99); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(100); }
}; };
class ObSysVarObEnableTraceLog : public ObBoolSysVar class ObSysVarObEnableTraceLog : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableTraceLog() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableTraceLog() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRACE_LOG; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRACE_LOG; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(100); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(101); }
}; };
class ObSysVarObEnableHashGroupBy : public ObBoolSysVar class ObSysVarObEnableHashGroupBy : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableHashGroupBy() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableHashGroupBy() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_HASH_GROUP_BY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_HASH_GROUP_BY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(101); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(102); }
}; };
class ObSysVarObEnableBlkNestedloopJoin : public ObBoolSysVar class ObSysVarObEnableBlkNestedloopJoin : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableBlkNestedloopJoin() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableBlkNestedloopJoin() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_BLK_NESTEDLOOP_JOIN; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_BLK_NESTEDLOOP_JOIN; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(102); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(103); }
}; };
class ObSysVarObBnlJoinCacheSize : public ObIntSysVar class ObSysVarObBnlJoinCacheSize : public ObIntSysVar
{ {
public: public:
ObSysVarObBnlJoinCacheSize() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObBnlJoinCacheSize() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_BNL_JOIN_CACHE_SIZE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_BNL_JOIN_CACHE_SIZE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(103); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(104); }
}; };
class ObSysVarObProxyUserPrivilege : public ObIntSysVar class ObSysVarObProxyUserPrivilege : public ObIntSysVar
{ {
public: public:
ObSysVarObProxyUserPrivilege() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObProxyUserPrivilege() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_USER_PRIVILEGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PROXY_USER_PRIVILEGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(104); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(105); }
}; };
class ObSysVarObOrgClusterId : public ObStrictRangeIntSysVar class ObSysVarObOrgClusterId : public ObStrictRangeIntSysVar
{ {
public: public:
ObSysVarObOrgClusterId() : ObStrictRangeIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_ob_org_cluster_id, NULL, NULL, NULL, NULL) {} ObSysVarObOrgClusterId() : ObStrictRangeIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_ob_org_cluster_id, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ORG_CLUSTER_ID; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ORG_CLUSTER_ID; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(105); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(106); }
}; };
class ObSysVarObPlanCachePercentage : public ObIntSysVar class ObSysVarObPlanCachePercentage : public ObIntSysVar
{ {
public: public:
ObSysVarObPlanCachePercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObPlanCachePercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PLAN_CACHE_PERCENTAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PLAN_CACHE_PERCENTAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(106); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(107); }
}; };
class ObSysVarObPlanCacheEvictHighPercentage : public ObIntSysVar class ObSysVarObPlanCacheEvictHighPercentage : public ObIntSysVar
{ {
public: public:
ObSysVarObPlanCacheEvictHighPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObPlanCacheEvictHighPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PLAN_CACHE_EVICT_HIGH_PERCENTAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PLAN_CACHE_EVICT_HIGH_PERCENTAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(107); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(108); }
}; };
class ObSysVarObPlanCacheEvictLowPercentage : public ObIntSysVar class ObSysVarObPlanCacheEvictLowPercentage : public ObIntSysVar
{ {
public: public:
ObSysVarObPlanCacheEvictLowPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObPlanCacheEvictLowPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PLAN_CACHE_EVICT_LOW_PERCENTAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PLAN_CACHE_EVICT_LOW_PERCENTAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(108); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(109); }
}; };
class ObSysVarRecyclebin : public ObBoolSysVar class ObSysVarRecyclebin : public ObBoolSysVar
{ {
public: public:
ObSysVarRecyclebin() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarRecyclebin() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_RECYCLEBIN; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_RECYCLEBIN; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(109); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(110); }
}; };
class ObSysVarObCapabilityFlag : public ObIntSysVar class ObSysVarObCapabilityFlag : public ObIntSysVar
{ {
public: public:
ObSysVarObCapabilityFlag() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObCapabilityFlag() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_CAPABILITY_FLAG; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_CAPABILITY_FLAG; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(110); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(111); }
}; };
class ObSysVarObStmtParallelDegree : public ObIntSysVar class ObSysVarObStmtParallelDegree : public ObIntSysVar
{ {
public: public:
ObSysVarObStmtParallelDegree() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObStmtParallelDegree() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_STMT_PARALLEL_DEGREE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_STMT_PARALLEL_DEGREE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(111); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(112); }
}; };
class ObSysVarIsResultAccurate : public ObBoolSysVar class ObSysVarIsResultAccurate : public ObBoolSysVar
{ {
public: public:
ObSysVarIsResultAccurate() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarIsResultAccurate() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_IS_RESULT_ACCURATE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_IS_RESULT_ACCURATE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(112); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(113); }
}; };
class ObSysVarErrorOnOverlapTime : public ObBoolSysVar class ObSysVarErrorOnOverlapTime : public ObBoolSysVar
{ {
public: public:
ObSysVarErrorOnOverlapTime() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarErrorOnOverlapTime() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_ERROR_ON_OVERLAP_TIME; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_ERROR_ON_OVERLAP_TIME; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(113); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(114); }
}; };
class ObSysVarObCompatibilityMode : public ObEnumSysVar class ObSysVarObCompatibilityMode : public ObEnumSysVar
{ {
@ -834,28 +841,28 @@ public:
public: public:
ObSysVarObCompatibilityMode() : ObEnumSysVar(OB_COMPATIBILITY_MODE_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarObCompatibilityMode() : ObEnumSysVar(OB_COMPATIBILITY_MODE_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_COMPATIBILITY_MODE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_COMPATIBILITY_MODE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(114); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(115); }
}; };
class ObSysVarObCreateTableStrictMode : public ObBoolSysVar class ObSysVarObCreateTableStrictMode : public ObBoolSysVar
{ {
public: public:
ObSysVarObCreateTableStrictMode() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObCreateTableStrictMode() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_CREATE_TABLE_STRICT_MODE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_CREATE_TABLE_STRICT_MODE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(115); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(116); }
}; };
class ObSysVarObSqlWorkAreaPercentage : public ObIntSysVar class ObSysVarObSqlWorkAreaPercentage : public ObIntSysVar
{ {
public: public:
ObSysVarObSqlWorkAreaPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObSqlWorkAreaPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_SQL_WORK_AREA_PERCENTAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_SQL_WORK_AREA_PERCENTAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(116); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(117); }
}; };
class ObSysVarObSafeWeakReadSnapshot : public ObIntSysVar class ObSysVarObSafeWeakReadSnapshot : public ObIntSysVar
{ {
public: public:
ObSysVarObSafeWeakReadSnapshot() : ObIntSysVar(NULL, ObSysVarOnUpdateFuncs::update_safe_weak_read_snapshot, NULL, NULL, NULL) {} ObSysVarObSafeWeakReadSnapshot() : ObIntSysVar(NULL, ObSysVarOnUpdateFuncs::update_safe_weak_read_snapshot, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_SAFE_WEAK_READ_SNAPSHOT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_SAFE_WEAK_READ_SNAPSHOT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(117); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(118); }
}; };
class ObSysVarObRoutePolicy : public ObEnumSysVar class ObSysVarObRoutePolicy : public ObEnumSysVar
{ {
@ -864,98 +871,98 @@ public:
public: public:
ObSysVarObRoutePolicy() : ObEnumSysVar(OB_ROUTE_POLICY_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarObRoutePolicy() : ObEnumSysVar(OB_ROUTE_POLICY_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ROUTE_POLICY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ROUTE_POLICY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(118); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(119); }
}; };
class ObSysVarObEnableTransmissionChecksum : public ObBoolSysVar class ObSysVarObEnableTransmissionChecksum : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableTransmissionChecksum() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableTransmissionChecksum() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRANSMISSION_CHECKSUM; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRANSMISSION_CHECKSUM; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(119); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(120); }
}; };
class ObSysVarForeignKeyChecks : public ObBoolSysVar class ObSysVarForeignKeyChecks : public ObBoolSysVar
{ {
public: public:
ObSysVarForeignKeyChecks() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarForeignKeyChecks() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_FOREIGN_KEY_CHECKS; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_FOREIGN_KEY_CHECKS; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(120); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(121); }
}; };
class ObSysVarObStatementTraceId : public ObVarcharSysVar class ObSysVarObStatementTraceId : public ObVarcharSysVar
{ {
public: public:
ObSysVarObStatementTraceId() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObStatementTraceId() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_STATEMENT_TRACE_ID; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_STATEMENT_TRACE_ID; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(121); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(122); }
}; };
class ObSysVarObEnableTruncateFlashback : public ObBoolSysVar class ObSysVarObEnableTruncateFlashback : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableTruncateFlashback() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableTruncateFlashback() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRUNCATE_FLASHBACK; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_TRUNCATE_FLASHBACK; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(122); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(123); }
}; };
class ObSysVarObTcpInvitedNodes : public ObVarcharSysVar class ObSysVarObTcpInvitedNodes : public ObVarcharSysVar
{ {
public: public:
ObSysVarObTcpInvitedNodes() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObTcpInvitedNodes() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TCP_INVITED_NODES; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TCP_INVITED_NODES; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(123); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(124); }
}; };
class ObSysVarSqlThrottleCurrentPriority : public ObIntSysVar class ObSysVarSqlThrottleCurrentPriority : public ObIntSysVar
{ {
public: public:
ObSysVarSqlThrottleCurrentPriority() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarSqlThrottleCurrentPriority() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_CURRENT_PRIORITY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_CURRENT_PRIORITY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(124); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(125); }
}; };
class ObSysVarSqlThrottlePriority : public ObIntSysVar class ObSysVarSqlThrottlePriority : public ObIntSysVar
{ {
public: public:
ObSysVarSqlThrottlePriority() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarSqlThrottlePriority() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_PRIORITY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_PRIORITY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(125); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(126); }
}; };
class ObSysVarSqlThrottleRt : public ObNumericSysVar class ObSysVarSqlThrottleRt : public ObNumericSysVar
{ {
public: public:
ObSysVarSqlThrottleRt() : ObNumericSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarSqlThrottleRt() : ObNumericSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_RT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_RT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(126); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(127); }
}; };
class ObSysVarSqlThrottleCpu : public ObNumericSysVar class ObSysVarSqlThrottleCpu : public ObNumericSysVar
{ {
public: public:
ObSysVarSqlThrottleCpu() : ObNumericSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarSqlThrottleCpu() : ObNumericSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_CPU; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_CPU; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(127); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(128); }
}; };
class ObSysVarSqlThrottleIo : public ObIntSysVar class ObSysVarSqlThrottleIo : public ObIntSysVar
{ {
public: public:
ObSysVarSqlThrottleIo() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarSqlThrottleIo() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_IO; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_IO; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(128); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(129); }
}; };
class ObSysVarSqlThrottleNetwork : public ObNumericSysVar class ObSysVarSqlThrottleNetwork : public ObNumericSysVar
{ {
public: public:
ObSysVarSqlThrottleNetwork() : ObNumericSysVar(ObSysVarOnCheckFuncs::check_and_convert_sql_throttle_queue_time, NULL, NULL, NULL, NULL) {} ObSysVarSqlThrottleNetwork() : ObNumericSysVar(ObSysVarOnCheckFuncs::check_and_convert_sql_throttle_queue_time, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_NETWORK; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_NETWORK; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(129); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(130); }
}; };
class ObSysVarSqlThrottleLogicalReads : public ObIntSysVar class ObSysVarSqlThrottleLogicalReads : public ObIntSysVar
{ {
public: public:
ObSysVarSqlThrottleLogicalReads() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarSqlThrottleLogicalReads() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_LOGICAL_READS; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SQL_THROTTLE_LOGICAL_READS; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(130); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(131); }
}; };
class ObSysVarAutoIncrementCacheSize : public ObIntSysVar class ObSysVarAutoIncrementCacheSize : public ObIntSysVar
{ {
public: public:
ObSysVarAutoIncrementCacheSize() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarAutoIncrementCacheSize() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_AUTO_INCREMENT_CACHE_SIZE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_AUTO_INCREMENT_CACHE_SIZE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(131); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(132); }
}; };
class ObSysVarObEnableJit : public ObEnumSysVar class ObSysVarObEnableJit : public ObEnumSysVar
{ {
@ -964,21 +971,21 @@ public:
public: public:
ObSysVarObEnableJit() : ObEnumSysVar(OB_ENABLE_JIT_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableJit() : ObEnumSysVar(OB_ENABLE_JIT_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_JIT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_JIT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(132); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(133); }
}; };
class ObSysVarObTempTablespaceSizePercentage : public ObIntSysVar class ObSysVarObTempTablespaceSizePercentage : public ObIntSysVar
{ {
public: public:
ObSysVarObTempTablespaceSizePercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObTempTablespaceSizePercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TEMP_TABLESPACE_SIZE_PERCENTAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TEMP_TABLESPACE_SIZE_PERCENTAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(133); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(134); }
}; };
class ObSysVarOptimizerAdaptiveCursorSharing : public ObBoolSysVar class ObSysVarOptimizerAdaptiveCursorSharing : public ObBoolSysVar
{ {
public: public:
ObSysVarOptimizerAdaptiveCursorSharing() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarOptimizerAdaptiveCursorSharing() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OPTIMIZER_ADAPTIVE_CURSOR_SHARING; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OPTIMIZER_ADAPTIVE_CURSOR_SHARING; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(134); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(135); }
}; };
class ObSysVarObTimestampService : public ObEnumSysVar class ObSysVarObTimestampService : public ObEnumSysVar
{ {
@ -987,84 +994,84 @@ public:
public: public:
ObSysVarObTimestampService() : ObEnumSysVar(OB_TIMESTAMP_SERVICE_NAMES, ObSysVarOnCheckFuncs::check_and_convert_timestamp_service, NULL, NULL, NULL, NULL) {} ObSysVarObTimestampService() : ObEnumSysVar(OB_TIMESTAMP_SERVICE_NAMES, ObSysVarOnCheckFuncs::check_and_convert_timestamp_service, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TIMESTAMP_SERVICE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TIMESTAMP_SERVICE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(135); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(136); }
}; };
class ObSysVarPluginDir : public ObVarcharSysVar class ObSysVarPluginDir : public ObVarcharSysVar
{ {
public: public:
ObSysVarPluginDir() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarPluginDir() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PLUGIN_DIR; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PLUGIN_DIR; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(136); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(137); }
}; };
class ObSysVarUndoRetention : public ObIntSysVar class ObSysVarUndoRetention : public ObIntSysVar
{ {
public: public:
ObSysVarUndoRetention() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarUndoRetention() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_UNDO_RETENTION; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_UNDO_RETENTION; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(137); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(138); }
}; };
class ObSysVarObUseParallelExecution : public ObBoolSysVar class ObSysVarObUseParallelExecution : public ObBoolSysVar
{ {
public: public:
ObSysVarObUseParallelExecution() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObUseParallelExecution() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_USE_PARALLEL_EXECUTION; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_USE_PARALLEL_EXECUTION; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(138); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(139); }
}; };
class ObSysVarObSqlAuditPercentage : public ObIntSysVar class ObSysVarObSqlAuditPercentage : public ObIntSysVar
{ {
public: public:
ObSysVarObSqlAuditPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObSqlAuditPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_SQL_AUDIT_PERCENTAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_SQL_AUDIT_PERCENTAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(139); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(140); }
}; };
class ObSysVarObEnableSqlAudit : public ObBoolSysVar class ObSysVarObEnableSqlAudit : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableSqlAudit() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableSqlAudit() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_SQL_AUDIT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_SQL_AUDIT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(140); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(141); }
}; };
class ObSysVarOptimizerUseSqlPlanBaselines : public ObBoolSysVar class ObSysVarOptimizerUseSqlPlanBaselines : public ObBoolSysVar
{ {
public: public:
ObSysVarOptimizerUseSqlPlanBaselines() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarOptimizerUseSqlPlanBaselines() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OPTIMIZER_USE_SQL_PLAN_BASELINES; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OPTIMIZER_USE_SQL_PLAN_BASELINES; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(141); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(142); }
}; };
class ObSysVarOptimizerCaptureSqlPlanBaselines : public ObBoolSysVar class ObSysVarOptimizerCaptureSqlPlanBaselines : public ObBoolSysVar
{ {
public: public:
ObSysVarOptimizerCaptureSqlPlanBaselines() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarOptimizerCaptureSqlPlanBaselines() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(142); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(143); }
}; };
class ObSysVarParallelMaxServers : public ObIntSysVar class ObSysVarParallelMaxServers : public ObIntSysVar
{ {
public: public:
ObSysVarParallelMaxServers() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarParallelMaxServers() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PARALLEL_MAX_SERVERS; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PARALLEL_MAX_SERVERS; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(143); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(144); }
}; };
class ObSysVarParallelServersTarget : public ObIntSysVar class ObSysVarParallelServersTarget : public ObIntSysVar
{ {
public: public:
ObSysVarParallelServersTarget() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarParallelServersTarget() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PARALLEL_SERVERS_TARGET; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PARALLEL_SERVERS_TARGET; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(144); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(145); }
}; };
class ObSysVarObEarlyLockRelease : public ObBoolSysVar class ObSysVarObEarlyLockRelease : public ObBoolSysVar
{ {
public: public:
ObSysVarObEarlyLockRelease() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEarlyLockRelease() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_EARLY_LOCK_RELEASE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_EARLY_LOCK_RELEASE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(145); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(146); }
}; };
class ObSysVarObTrxIdleTimeout : public ObIntSysVar class ObSysVarObTrxIdleTimeout : public ObIntSysVar
{ {
public: public:
ObSysVarObTrxIdleTimeout() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObTrxIdleTimeout() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRX_IDLE_TIMEOUT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRX_IDLE_TIMEOUT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(146); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(147); }
}; };
class ObSysVarBlockEncryptionMode : public ObEnumSysVar class ObSysVarBlockEncryptionMode : public ObEnumSysVar
{ {
@ -1073,168 +1080,168 @@ public:
public: public:
ObSysVarBlockEncryptionMode() : ObEnumSysVar(BLOCK_ENCRYPTION_MODE_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarBlockEncryptionMode() : ObEnumSysVar(BLOCK_ENCRYPTION_MODE_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_BLOCK_ENCRYPTION_MODE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_BLOCK_ENCRYPTION_MODE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(147); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(148); }
}; };
class ObSysVarNlsDateFormat : public ObVarcharSysVar class ObSysVarNlsDateFormat : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsDateFormat() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsDateFormat() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_DATE_FORMAT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_DATE_FORMAT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(148); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(149); }
}; };
class ObSysVarNlsTimestampFormat : public ObVarcharSysVar class ObSysVarNlsTimestampFormat : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsTimestampFormat() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsTimestampFormat() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_TIMESTAMP_FORMAT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_TIMESTAMP_FORMAT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(149); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(150); }
}; };
class ObSysVarNlsTimestampTzFormat : public ObVarcharSysVar class ObSysVarNlsTimestampTzFormat : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsTimestampTzFormat() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsTimestampTzFormat() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_TIMESTAMP_TZ_FORMAT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_TIMESTAMP_TZ_FORMAT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(150); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(151); }
}; };
class ObSysVarObReservedMetaMemoryPercentage : public ObIntSysVar class ObSysVarObReservedMetaMemoryPercentage : public ObIntSysVar
{ {
public: public:
ObSysVarObReservedMetaMemoryPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObReservedMetaMemoryPercentage() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_RESERVED_META_MEMORY_PERCENTAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_RESERVED_META_MEMORY_PERCENTAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(151); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(152); }
}; };
class ObSysVarObCheckSysVariable : public ObBoolSysVar class ObSysVarObCheckSysVariable : public ObBoolSysVar
{ {
public: public:
ObSysVarObCheckSysVariable() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObCheckSysVariable() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_CHECK_SYS_VARIABLE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_CHECK_SYS_VARIABLE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(152); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(153); }
}; };
class ObSysVarNlsLanguage : public ObVarcharSysVar class ObSysVarNlsLanguage : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsLanguage() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsLanguage() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_LANGUAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_LANGUAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(153); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(154); }
}; };
class ObSysVarNlsTerritory : public ObVarcharSysVar class ObSysVarNlsTerritory : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsTerritory() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsTerritory() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_TERRITORY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_TERRITORY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(154); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(155); }
}; };
class ObSysVarNlsSort : public ObVarcharSysVar class ObSysVarNlsSort : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsSort() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsSort() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_SORT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_SORT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(155); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(156); }
}; };
class ObSysVarNlsComp : public ObVarcharSysVar class ObSysVarNlsComp : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsComp() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsComp() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_COMP; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_COMP; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(156); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(157); }
}; };
class ObSysVarNlsCharacterset : public ObVarcharSysVar class ObSysVarNlsCharacterset : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsCharacterset() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsCharacterset() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_CHARACTERSET; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_CHARACTERSET; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(157); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(158); }
}; };
class ObSysVarNlsNcharCharacterset : public ObVarcharSysVar class ObSysVarNlsNcharCharacterset : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsNcharCharacterset() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsNcharCharacterset() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_NCHAR_CHARACTERSET; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_NCHAR_CHARACTERSET; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(158); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(159); }
}; };
class ObSysVarNlsDateLanguage : public ObVarcharSysVar class ObSysVarNlsDateLanguage : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsDateLanguage() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsDateLanguage() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_DATE_LANGUAGE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_DATE_LANGUAGE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(159); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(160); }
}; };
class ObSysVarNlsLengthSemantics : public ObVarcharSysVar class ObSysVarNlsLengthSemantics : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsLengthSemantics() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsLengthSemantics() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_LENGTH_SEMANTICS; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_LENGTH_SEMANTICS; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(160); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(161); }
}; };
class ObSysVarNlsNcharConvExcp : public ObVarcharSysVar class ObSysVarNlsNcharConvExcp : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsNcharConvExcp() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsNcharConvExcp() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_NCHAR_CONV_EXCP; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_NCHAR_CONV_EXCP; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(161); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(162); }
}; };
class ObSysVarNlsCalendar : public ObVarcharSysVar class ObSysVarNlsCalendar : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsCalendar() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsCalendar() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_CALENDAR; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_CALENDAR; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(162); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(163); }
}; };
class ObSysVarNlsNumericCharacters : public ObVarcharSysVar class ObSysVarNlsNumericCharacters : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsNumericCharacters() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsNumericCharacters() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_NUMERIC_CHARACTERS; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_NUMERIC_CHARACTERS; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(163); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(164); }
}; };
class ObSysVarNljBatchingEnabled : public ObBoolSysVar class ObSysVarNljBatchingEnabled : public ObBoolSysVar
{ {
public: public:
ObSysVarNljBatchingEnabled() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNljBatchingEnabled() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__NLJ_BATCHING_ENABLED; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__NLJ_BATCHING_ENABLED; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(164); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(165); }
}; };
class ObSysVarTracefileIdentifier : public ObVarcharSysVar class ObSysVarTracefileIdentifier : public ObVarcharSysVar
{ {
public: public:
ObSysVarTracefileIdentifier() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarTracefileIdentifier() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_TRACEFILE_IDENTIFIER; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_TRACEFILE_IDENTIFIER; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(165); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(166); }
}; };
class ObSysVarGroupbyNopushdownCutRatio : public ObIntSysVar class ObSysVarGroupbyNopushdownCutRatio : public ObIntSysVar
{ {
public: public:
ObSysVarGroupbyNopushdownCutRatio() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarGroupbyNopushdownCutRatio() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__GROUPBY_NOPUSHDOWN_CUT_RATIO; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__GROUPBY_NOPUSHDOWN_CUT_RATIO; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(166); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(167); }
}; };
class ObSysVarPxBroadcastFudgeFactor : public ObIntSysVar class ObSysVarPxBroadcastFudgeFactor : public ObIntSysVar
{ {
public: public:
ObSysVarPxBroadcastFudgeFactor() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarPxBroadcastFudgeFactor() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PX_BROADCAST_FUDGE_FACTOR; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PX_BROADCAST_FUDGE_FACTOR; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(167); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(168); }
}; };
class ObSysVarPrimaryZoneEntityCount : public ObIntSysVar class ObSysVarPrimaryZoneEntityCount : public ObIntSysVar
{ {
public: public:
ObSysVarPrimaryZoneEntityCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarPrimaryZoneEntityCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PRIMARY_ZONE_ENTITY_COUNT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PRIMARY_ZONE_ENTITY_COUNT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(168); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(169); }
}; };
class ObSysVarTransactionIsolation : public ObSessionSpecialVarcharSysVar class ObSysVarTransactionIsolation : public ObSessionSpecialVarcharSysVar
{ {
public: public:
ObSysVarTransactionIsolation() : ObSessionSpecialVarcharSysVar(ObSysVarOnCheckFuncs::check_and_convert_tx_isolation, ObSysVarOnUpdateFuncs::update_tx_isolation, ObSysVarSessionSpecialUpdateFuncs::update_tx_isolation, NULL, NULL, NULL) {} ObSysVarTransactionIsolation() : ObSessionSpecialVarcharSysVar(ObSysVarOnCheckFuncs::check_and_convert_tx_isolation, ObSysVarOnUpdateFuncs::update_tx_isolation, ObSysVarSessionSpecialUpdateFuncs::update_tx_isolation, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_TRANSACTION_ISOLATION; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_TRANSACTION_ISOLATION; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(169); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(170); }
}; };
class ObSysVarObTrxLockTimeout : public ObIntSysVar class ObSysVarObTrxLockTimeout : public ObIntSysVar
{ {
public: public:
ObSysVarObTrxLockTimeout() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObTrxLockTimeout() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRX_LOCK_TIMEOUT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRX_LOCK_TIMEOUT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(170); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(171); }
}; };
class ObSysVarValidatePasswordCheckUserName : public ObEnumSysVar class ObSysVarValidatePasswordCheckUserName : public ObEnumSysVar
{ {
@ -1243,28 +1250,28 @@ public:
public: public:
ObSysVarValidatePasswordCheckUserName() : ObEnumSysVar(VALIDATE_PASSWORD_CHECK_USER_NAME_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarValidatePasswordCheckUserName() : ObEnumSysVar(VALIDATE_PASSWORD_CHECK_USER_NAME_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_CHECK_USER_NAME; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_CHECK_USER_NAME; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(171); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(172); }
}; };
class ObSysVarValidatePasswordLength : public ObIntSysVar class ObSysVarValidatePasswordLength : public ObIntSysVar
{ {
public: public:
ObSysVarValidatePasswordLength() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarValidatePasswordLength() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_LENGTH; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_LENGTH; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(172); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(173); }
}; };
class ObSysVarValidatePasswordMixedCaseCount : public ObIntSysVar class ObSysVarValidatePasswordMixedCaseCount : public ObIntSysVar
{ {
public: public:
ObSysVarValidatePasswordMixedCaseCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarValidatePasswordMixedCaseCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_MIXED_CASE_COUNT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_MIXED_CASE_COUNT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(173); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(174); }
}; };
class ObSysVarValidatePasswordNumberCount : public ObIntSysVar class ObSysVarValidatePasswordNumberCount : public ObIntSysVar
{ {
public: public:
ObSysVarValidatePasswordNumberCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarValidatePasswordNumberCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_NUMBER_COUNT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_NUMBER_COUNT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(174); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(175); }
}; };
class ObSysVarValidatePasswordPolicy : public ObEnumSysVar class ObSysVarValidatePasswordPolicy : public ObEnumSysVar
{ {
@ -1273,42 +1280,42 @@ public:
public: public:
ObSysVarValidatePasswordPolicy() : ObEnumSysVar(VALIDATE_PASSWORD_POLICY_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarValidatePasswordPolicy() : ObEnumSysVar(VALIDATE_PASSWORD_POLICY_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_POLICY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_POLICY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(175); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(176); }
}; };
class ObSysVarValidatePasswordSpecialCharCount : public ObIntSysVar class ObSysVarValidatePasswordSpecialCharCount : public ObIntSysVar
{ {
public: public:
ObSysVarValidatePasswordSpecialCharCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarValidatePasswordSpecialCharCount() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_SPECIAL_CHAR_COUNT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_VALIDATE_PASSWORD_SPECIAL_CHAR_COUNT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(176); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(177); }
}; };
class ObSysVarDefaultPasswordLifetime : public ObIntSysVar class ObSysVarDefaultPasswordLifetime : public ObIntSysVar
{ {
public: public:
ObSysVarDefaultPasswordLifetime() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarDefaultPasswordLifetime() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_DEFAULT_PASSWORD_LIFETIME; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_DEFAULT_PASSWORD_LIFETIME; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(177); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(178); }
}; };
class ObSysVarObTraceInfo : public ObVarcharSysVar class ObSysVarObTraceInfo : public ObVarcharSysVar
{ {
public: public:
ObSysVarObTraceInfo() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObTraceInfo() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRACE_INFO; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_TRACE_INFO; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(178); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(179); }
}; };
class ObSysVarObEnableBatchedMultiStatement : public ObBoolSysVar class ObSysVarObEnableBatchedMultiStatement : public ObBoolSysVar
{ {
public: public:
ObSysVarObEnableBatchedMultiStatement() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObEnableBatchedMultiStatement() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_BATCHED_MULTI_STATEMENT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_ENABLE_BATCHED_MULTI_STATEMENT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(179); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(180); }
}; };
class ObSysVarPxPartitionScanThreshold : public ObIntSysVar class ObSysVarPxPartitionScanThreshold : public ObIntSysVar
{ {
public: public:
ObSysVarPxPartitionScanThreshold() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarPxPartitionScanThreshold() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PX_PARTITION_SCAN_THRESHOLD; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PX_PARTITION_SCAN_THRESHOLD; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(180); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(181); }
}; };
class ObSysVarObPxBcastOptimization : public ObEnumSysVar class ObSysVarObPxBcastOptimization : public ObEnumSysVar
{ {
@ -1317,119 +1324,119 @@ public:
public: public:
ObSysVarObPxBcastOptimization() : ObEnumSysVar(_OB_PX_BCAST_OPTIMIZATION_NAMES, NULL, NULL, NULL, NULL, NULL) {} ObSysVarObPxBcastOptimization() : ObEnumSysVar(_OB_PX_BCAST_OPTIMIZATION_NAMES, NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_PX_BCAST_OPTIMIZATION; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_PX_BCAST_OPTIMIZATION; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(181); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(182); }
}; };
class ObSysVarObPxSlaveMappingThreshold : public ObIntSysVar class ObSysVarObPxSlaveMappingThreshold : public ObIntSysVar
{ {
public: public:
ObSysVarObPxSlaveMappingThreshold() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObPxSlaveMappingThreshold() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_PX_SLAVE_MAPPING_THRESHOLD; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_PX_SLAVE_MAPPING_THRESHOLD; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(182); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(183); }
}; };
class ObSysVarEnableParallelDml : public ObBoolSysVar class ObSysVarEnableParallelDml : public ObBoolSysVar
{ {
public: public:
ObSysVarEnableParallelDml() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarEnableParallelDml() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__ENABLE_PARALLEL_DML; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__ENABLE_PARALLEL_DML; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(183); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(184); }
}; };
class ObSysVarPxMinGranulesPerSlave : public ObIntSysVar class ObSysVarPxMinGranulesPerSlave : public ObIntSysVar
{ {
public: public:
ObSysVarPxMinGranulesPerSlave() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarPxMinGranulesPerSlave() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PX_MIN_GRANULES_PER_SLAVE; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__PX_MIN_GRANULES_PER_SLAVE; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(184); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(185); }
}; };
class ObSysVarSecureFilePriv : public ObVarcharSysVar class ObSysVarSecureFilePriv : public ObVarcharSysVar
{ {
public: public:
ObSysVarSecureFilePriv() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarSecureFilePriv() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SECURE_FILE_PRIV; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_SECURE_FILE_PRIV; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(185); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(186); }
}; };
class ObSysVarPlsqlWarnings : public ObVarcharSysVar class ObSysVarPlsqlWarnings : public ObVarcharSysVar
{ {
public: public:
ObSysVarPlsqlWarnings() : ObVarcharSysVar(ObSysVarOnCheckFuncs::check_and_convert_plsql_warnings, NULL, NULL, NULL, NULL) {} ObSysVarPlsqlWarnings() : ObVarcharSysVar(ObSysVarOnCheckFuncs::check_and_convert_plsql_warnings, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PLSQL_WARNINGS; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PLSQL_WARNINGS; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(186); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(187); }
}; };
class ObSysVarEnableParallelQuery : public ObBoolSysVar class ObSysVarEnableParallelQuery : public ObBoolSysVar
{ {
public: public:
ObSysVarEnableParallelQuery() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarEnableParallelQuery() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__ENABLE_PARALLEL_QUERY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__ENABLE_PARALLEL_QUERY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(187); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(188); }
}; };
class ObSysVarForceParallelQueryDop : public ObIntSysVar class ObSysVarForceParallelQueryDop : public ObIntSysVar
{ {
public: public:
ObSysVarForceParallelQueryDop() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarForceParallelQueryDop() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__FORCE_PARALLEL_QUERY_DOP; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__FORCE_PARALLEL_QUERY_DOP; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(188); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(189); }
}; };
class ObSysVarForceParallelDmlDop : public ObIntSysVar class ObSysVarForceParallelDmlDop : public ObIntSysVar
{ {
public: public:
ObSysVarForceParallelDmlDop() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarForceParallelDmlDop() : ObIntSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__FORCE_PARALLEL_DML_DOP; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__FORCE_PARALLEL_DML_DOP; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(189); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(190); }
}; };
class ObSysVarObPlBlockTimeout : public ObIntSysVar class ObSysVarObPlBlockTimeout : public ObIntSysVar
{ {
public: public:
ObSysVarObPlBlockTimeout() : ObIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_timeout_too_large, NULL, NULL, NULL, NULL) {} ObSysVarObPlBlockTimeout() : ObIntSysVar(ObSysVarOnCheckFuncs::check_and_convert_timeout_too_large, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PL_BLOCK_TIMEOUT; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_OB_PL_BLOCK_TIMEOUT; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(190); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(191); }
}; };
class ObSysVarTransactionReadOnly : public ObSessionSpecialBoolSysVar class ObSysVarTransactionReadOnly : public ObSessionSpecialBoolSysVar
{ {
public: public:
ObSysVarTransactionReadOnly() : ObSessionSpecialBoolSysVar(ObSysVarOnCheckFuncs::check_and_convert_tx_read_only, ObSysVarOnUpdateFuncs::update_tx_read_only_no_scope, ObSysVarSessionSpecialUpdateFuncs::update_tx_read_only, NULL, NULL, NULL) {} ObSysVarTransactionReadOnly() : ObSessionSpecialBoolSysVar(ObSysVarOnCheckFuncs::check_and_convert_tx_read_only, ObSysVarOnUpdateFuncs::update_tx_read_only_no_scope, ObSysVarSessionSpecialUpdateFuncs::update_tx_read_only, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_TRANSACTION_READ_ONLY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_TRANSACTION_READ_ONLY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(191); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(192); }
}; };
class ObSysVarResourceManagerPlan : public ObVarcharSysVar class ObSysVarResourceManagerPlan : public ObVarcharSysVar
{ {
public: public:
ObSysVarResourceManagerPlan() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarResourceManagerPlan() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_RESOURCE_MANAGER_PLAN; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_RESOURCE_MANAGER_PLAN; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(192); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(193); }
}; };
class ObSysVarPerformanceSchema : public ObBoolSysVar class ObSysVarPerformanceSchema : public ObBoolSysVar
{ {
public: public:
ObSysVarPerformanceSchema() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarPerformanceSchema() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PERFORMANCE_SCHEMA; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_PERFORMANCE_SCHEMA; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(193); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(194); }
}; };
class ObSysVarNlsCurrency : public ObVarcharSysVar class ObSysVarNlsCurrency : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsCurrency() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsCurrency() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_CURRENCY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_CURRENCY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(194); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(195); }
}; };
class ObSysVarNlsIsoCurrency : public ObVarcharSysVar class ObSysVarNlsIsoCurrency : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsIsoCurrency() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsIsoCurrency() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_ISO_CURRENCY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_ISO_CURRENCY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(195); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(196); }
}; };
class ObSysVarNlsDualCurrency : public ObVarcharSysVar class ObSysVarNlsDualCurrency : public ObVarcharSysVar
{ {
public: public:
ObSysVarNlsDualCurrency() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarNlsDualCurrency() : ObVarcharSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_DUAL_CURRENCY; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR_NLS_DUAL_CURRENCY; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(196); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(197); }
}; };
class ObSysVarObProxySessionTemporaryTableUsed : public ObBoolSysVar class ObSysVarObProxySessionTemporaryTableUsed : public ObBoolSysVar
{ {
public: public:
ObSysVarObProxySessionTemporaryTableUsed() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {} ObSysVarObProxySessionTemporaryTableUsed() : ObBoolSysVar(NULL, NULL, NULL, NULL, NULL) {}
inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_PROXY_SESSION_TEMPORARY_TABLE_USED; } inline virtual ObSysVarClassType get_type() const { return SYS_VAR__OB_PROXY_SESSION_TEMPORARY_TABLE_USED; }
inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(197); } inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value(198); }
}; };
@ -1449,7 +1456,7 @@ public:
static int get_sys_var_name_by_id(ObSysVarClassType sys_var_id, common::ObString &sys_var_name); static int get_sys_var_name_by_id(ObSysVarClassType sys_var_id, common::ObString &sys_var_name);
static const common::ObString get_sys_var_name_by_id(ObSysVarClassType sys_var_id); static const common::ObString get_sys_var_name_by_id(ObSysVarClassType sys_var_id);
const static int64_t MYSQL_SYS_VARS_COUNT = 84; const static int64_t MYSQL_SYS_VARS_COUNT = 85;
const static int64_t OB_SYS_VARS_COUNT = 114; const static int64_t OB_SYS_VARS_COUNT = 114;
const static int64_t ALL_SYS_VARS_COUNT = MYSQL_SYS_VARS_COUNT + OB_SYS_VARS_COUNT; const static int64_t ALL_SYS_VARS_COUNT = MYSQL_SYS_VARS_COUNT + OB_SYS_VARS_COUNT;
@ -1470,4 +1477,4 @@ private:
} }
} }
#endif //OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_ #endif //OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_

File diff suppressed because it is too large Load Diff

View File

@ -1147,6 +1147,18 @@
"background_cn": "", "background_cn": "",
"ref_url": "" "ref_url": ""
}, },
"default_storage_engine": {
"id": 93,
"name": "default_storage_engine",
"value": "OceanBase",
"data_type": "varchar",
"info": "The default storage engine of OceanBase",
"flags": "GLOBAL | SESSION | MYSQL_ONLY",
"publish_version": "400",
"info_cn": "",
"background_cn": "",
"ref_url": ""
},
"ob_interm_result_mem_limit": { "ob_interm_result_mem_limit": {
"id": 10001, "id": 10001,
"name": "ob_interm_result_mem_limit", "name": "ob_interm_result_mem_limit",

View File

@ -673,6 +673,17 @@ int ObVariableSetExecutor::check_and_convert_sys_var(ObExecContext& ctx, const O
LOG_WARN("not support modify this variables now", K(set_var), K(new_value), K(ret)); LOG_WARN("not support modify this variables now", K(set_var), K(new_value), K(ret));
} }
} }
if (OB_FAIL(ret)) {
} else if (set_var.var_name_ == OB_SV_DEFAULT_STORAGE_ENGINE) {
static const common::ObString DEFAULT_VALUE_STORAGE_ENGINE("OceanBase");
const ObString new_value = out_val.get_string();
if (new_value.case_compare(DEFAULT_VALUE_STORAGE_ENGINE) != 0) {
ret = OB_ERR_PARAM_VALUE_INVALID;
LOG_USER_ERROR(OB_ERR_PARAM_VALUE_INVALID);
}
}
return ret; return ret;
} }

View File

@ -87,6 +87,7 @@ sys_var_dict["warning_count"] = {"id": 80, "name": "warning_count", "value": "0"
sys_var_dict["session_track_schema"] = {"id": 81, "name": "session_track_schema", "value": "1", "data_type": 5, "info": "specifies whether return schema change info in ok packet", "flags": 4099} sys_var_dict["session_track_schema"] = {"id": 81, "name": "session_track_schema", "value": "1", "data_type": 5, "info": "specifies whether return schema change info in ok packet", "flags": 4099}
sys_var_dict["session_track_system_variables"] = {"id": 82, "name": "session_track_system_variables", "value": "time_zone, autocommit, character_set_client, character_set_results, character_set_connection", "data_type": 22, "info": "specifies whether return system variables change info in ok packet", "flags": 4099} sys_var_dict["session_track_system_variables"] = {"id": 82, "name": "session_track_system_variables", "value": "time_zone, autocommit, character_set_client, character_set_results, character_set_connection", "data_type": 22, "info": "specifies whether return system variables change info in ok packet", "flags": 4099}
sys_var_dict["session_track_state_change"] = {"id": 83, "name": "session_track_state_change", "value": "0", "data_type": 5, "info": "specifies whether return session state change info in ok packet", "flags": 4099} sys_var_dict["session_track_state_change"] = {"id": 83, "name": "session_track_state_change", "value": "0", "data_type": 5, "info": "specifies whether return session state change info in ok packet", "flags": 4099}
sys_var_dict["default_storage_engine"] = {"id": 93, "name": "default_storage_engine", "value": "OceanBase", "data_type": 22, "info": "The default storage engine of OceanBase", "flags": 4099}
sys_var_dict["ob_default_replica_num"] = {"id": 10000, "name": "ob_default_replica_num", "value": "1", "data_type": 5, "info": "The default replica number of table per zone if not specified when creating table.", "flags": 3} sys_var_dict["ob_default_replica_num"] = {"id": 10000, "name": "ob_default_replica_num", "value": "1", "data_type": 5, "info": "The default replica number of table per zone if not specified when creating table.", "flags": 3}
sys_var_dict["ob_interm_result_mem_limit"] = {"id": 10001, "name": "ob_interm_result_mem_limit", "value": "2147483648", "data_type": 5, "info": "Indicate how many bytes the interm result manager can alloc most for this tenant", "flags": 131} sys_var_dict["ob_interm_result_mem_limit"] = {"id": 10001, "name": "ob_interm_result_mem_limit", "value": "2147483648", "data_type": 5, "info": "Indicate how many bytes the interm result manager can alloc most for this tenant", "flags": 131}
sys_var_dict["ob_proxy_partition_hit"] = {"id": 10002, "name": "ob_proxy_partition_hit", "value": "1", "data_type": 5, "info": "Indicate whether sql stmt hit right partition, readonly to user, modify by ob", "flags": 22} sys_var_dict["ob_proxy_partition_hit"] = {"id": 10002, "name": "ob_proxy_partition_hit", "value": "1", "data_type": 5, "info": "Indicate whether sql stmt hit right partition, readonly to user, modify by ob", "flags": 22}

View File

@ -7415,6 +7415,7 @@
#sys_var_dict["session_track_schema"] = {"id": 81, "name": "session_track_schema", "value": "1", "data_type": 5, "info": "specifies whether return schema change info in ok packet", "flags": 4099} #sys_var_dict["session_track_schema"] = {"id": 81, "name": "session_track_schema", "value": "1", "data_type": 5, "info": "specifies whether return schema change info in ok packet", "flags": 4099}
#sys_var_dict["session_track_system_variables"] = {"id": 82, "name": "session_track_system_variables", "value": "time_zone, autocommit, character_set_client, character_set_results, character_set_connection", "data_type": 22, "info": "specifies whether return system variables change info in ok packet", "flags": 4099} #sys_var_dict["session_track_system_variables"] = {"id": 82, "name": "session_track_system_variables", "value": "time_zone, autocommit, character_set_client, character_set_results, character_set_connection", "data_type": 22, "info": "specifies whether return system variables change info in ok packet", "flags": 4099}
#sys_var_dict["session_track_state_change"] = {"id": 83, "name": "session_track_state_change", "value": "0", "data_type": 5, "info": "specifies whether return session state change info in ok packet", "flags": 4099} #sys_var_dict["session_track_state_change"] = {"id": 83, "name": "session_track_state_change", "value": "0", "data_type": 5, "info": "specifies whether return session state change info in ok packet", "flags": 4099}
#sys_var_dict["default_storage_engine"] = {"id": 93, "name": "default_storage_engine", "value": "OceanBase", "data_type": 22, "info": "The default storage engine of OceanBase", "flags": 4099}
#sys_var_dict["ob_default_replica_num"] = {"id": 10000, "name": "ob_default_replica_num", "value": "1", "data_type": 5, "info": "The default replica number of table per zone if not specified when creating table.", "flags": 3} #sys_var_dict["ob_default_replica_num"] = {"id": 10000, "name": "ob_default_replica_num", "value": "1", "data_type": 5, "info": "The default replica number of table per zone if not specified when creating table.", "flags": 3}
#sys_var_dict["ob_interm_result_mem_limit"] = {"id": 10001, "name": "ob_interm_result_mem_limit", "value": "2147483648", "data_type": 5, "info": "Indicate how many bytes the interm result manager can alloc most for this tenant", "flags": 131} #sys_var_dict["ob_interm_result_mem_limit"] = {"id": 10001, "name": "ob_interm_result_mem_limit", "value": "2147483648", "data_type": 5, "info": "Indicate how many bytes the interm result manager can alloc most for this tenant", "flags": 131}
#sys_var_dict["ob_proxy_partition_hit"] = {"id": 10002, "name": "ob_proxy_partition_hit", "value": "1", "data_type": 5, "info": "Indicate whether sql stmt hit right partition, readonly to user, modify by ob", "flags": 22} #sys_var_dict["ob_proxy_partition_hit"] = {"id": 10002, "name": "ob_proxy_partition_hit", "value": "1", "data_type": 5, "info": "Indicate whether sql stmt hit right partition, readonly to user, modify by ob", "flags": 22}

View File

@ -7415,6 +7415,7 @@
#sys_var_dict["session_track_schema"] = {"id": 81, "name": "session_track_schema", "value": "1", "data_type": 5, "info": "specifies whether return schema change info in ok packet", "flags": 4099} #sys_var_dict["session_track_schema"] = {"id": 81, "name": "session_track_schema", "value": "1", "data_type": 5, "info": "specifies whether return schema change info in ok packet", "flags": 4099}
#sys_var_dict["session_track_system_variables"] = {"id": 82, "name": "session_track_system_variables", "value": "time_zone, autocommit, character_set_client, character_set_results, character_set_connection", "data_type": 22, "info": "specifies whether return system variables change info in ok packet", "flags": 4099} #sys_var_dict["session_track_system_variables"] = {"id": 82, "name": "session_track_system_variables", "value": "time_zone, autocommit, character_set_client, character_set_results, character_set_connection", "data_type": 22, "info": "specifies whether return system variables change info in ok packet", "flags": 4099}
#sys_var_dict["session_track_state_change"] = {"id": 83, "name": "session_track_state_change", "value": "0", "data_type": 5, "info": "specifies whether return session state change info in ok packet", "flags": 4099} #sys_var_dict["session_track_state_change"] = {"id": 83, "name": "session_track_state_change", "value": "0", "data_type": 5, "info": "specifies whether return session state change info in ok packet", "flags": 4099}
#sys_var_dict["default_storage_engine"] = {"id": 93, "name": "default_storage_engine", "value": "OceanBase", "data_type": 22, "info": "The default storage engine of OceanBase", "flags": 4099}
#sys_var_dict["ob_default_replica_num"] = {"id": 10000, "name": "ob_default_replica_num", "value": "1", "data_type": 5, "info": "The default replica number of table per zone if not specified when creating table.", "flags": 3} #sys_var_dict["ob_default_replica_num"] = {"id": 10000, "name": "ob_default_replica_num", "value": "1", "data_type": 5, "info": "The default replica number of table per zone if not specified when creating table.", "flags": 3}
#sys_var_dict["ob_interm_result_mem_limit"] = {"id": 10001, "name": "ob_interm_result_mem_limit", "value": "2147483648", "data_type": 5, "info": "Indicate how many bytes the interm result manager can alloc most for this tenant", "flags": 131} #sys_var_dict["ob_interm_result_mem_limit"] = {"id": 10001, "name": "ob_interm_result_mem_limit", "value": "2147483648", "data_type": 5, "info": "Indicate how many bytes the interm result manager can alloc most for this tenant", "flags": 131}
#sys_var_dict["ob_proxy_partition_hit"] = {"id": 10002, "name": "ob_proxy_partition_hit", "value": "1", "data_type": 5, "info": "Indicate whether sql stmt hit right partition, readonly to user, modify by ob", "flags": 22} #sys_var_dict["ob_proxy_partition_hit"] = {"id": 10002, "name": "ob_proxy_partition_hit", "value": "1", "data_type": 5, "info": "Indicate whether sql stmt hit right partition, readonly to user, modify by ob", "flags": 22}