Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
kp22424
oceanbase
提交
fa8b8384
O
oceanbase
项目概览
kp22424
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
fa8b8384
编写于
12月 16, 2021
作者:
J
jk0
提交者:
LINGuanRen
12月 16, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify upgrade scripts&&support system variables session_track_*
上级
ed22c8da
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
9904 addition
and
8142 deletion
+9904
-8142
CMakeLists.txt
CMakeLists.txt
+2
-2
cmake/RPM.cmake
cmake/RPM.cmake
+9
-0
src/share/ob_cluster_version.h
src/share/ob_cluster_version.h
+2
-1
src/share/ob_upgrade_utils.cpp
src/share/ob_upgrade_utils.cpp
+3
-42
src/share/ob_upgrade_utils.h
src/share/ob_upgrade_utils.h
+2
-1
src/share/parameter/ob_parameter_seed.ipp
src/share/parameter/ob_parameter_seed.ipp
+1
-2
src/share/system_variable/gen_ob_sys_variables.py
src/share/system_variable/gen_ob_sys_variables.py
+999
-0
src/share/system_variable/ob_sys_var_class_type.h
src/share/system_variable/ob_sys_var_class_type.h
+11
-5
src/share/system_variable/ob_system_variable_alias.h
src/share/system_variable/ob_system_variable_alias.h
+211
-200
src/share/system_variable/ob_system_variable_factory.cpp
src/share/system_variable/ob_system_variable_factory.cpp
+4945
-2855
src/share/system_variable/ob_system_variable_factory.h
src/share/system_variable/ob_system_variable_factory.h
+1425
-2637
src/share/system_variable/ob_system_variable_init.cpp
src/share/system_variable/ob_system_variable_init.cpp
+2227
-2354
src/share/system_variable/ob_system_variable_init.h
src/share/system_variable/ob_system_variable_init.h
+18
-30
src/share/system_variable/ob_system_variable_init.json
src/share/system_variable/ob_system_variable_init.json
+49
-13
未找到文件。
CMakeLists.txt
浏览文件 @
fa8b8384
...
@@ -4,9 +4,9 @@ include(cmake/Utils.cmake)
...
@@ -4,9 +4,9 @@ include(cmake/Utils.cmake)
include
(
cmake/Env.cmake
)
include
(
cmake/Env.cmake
)
project
(
"OceanBase CE"
project
(
"OceanBase CE"
VERSION 3.1.
1
VERSION 3.1.
2
DESCRIPTION
"OceanBase distributed database system"
DESCRIPTION
"OceanBase distributed database system"
HOMEPAGE_URL
"https://
www
.oceanbase.com/"
HOMEPAGE_URL
"https://
open
.oceanbase.com/"
LANGUAGES CXX C ASM
)
LANGUAGES CXX C ASM
)
ob_define
(
WITH_OSS OFF
)
ob_define
(
WITH_OSS OFF
)
...
...
cmake/RPM.cmake
浏览文件 @
fa8b8384
...
@@ -47,6 +47,15 @@ install(PROGRAMS
...
@@ -47,6 +47,15 @@ install(PROGRAMS
install
(
FILES
install
(
FILES
tools/timezone/timezone_V1.log
tools/timezone/timezone_V1.log
tools/upgrade/upgrade_pre.py
tools/upgrade/upgrade_post.py
tools/upgrade/upgrade_post_checker.py
tools/upgrade/upgrade_checker.py
tools/upgrade/upgrade_cluster_health_checker.py
tools/upgrade/upgrade_rolling_pre.py
tools/upgrade/upgrade_rolling_post.py
tools/upgrade/priv_checker.py
tools/upgrade/oceanbase_upgrade_dep.yml
DESTINATION etc
DESTINATION etc
COMPONENT server
)
COMPONENT server
)
...
...
src/share/ob_cluster_version.h
浏览文件 @
fa8b8384
...
@@ -93,11 +93,12 @@ uint64_t cal_version(const uint64_t major, const uint64_t minor, const uint64_t
...
@@ -93,11 +93,12 @@ uint64_t cal_version(const uint64_t major, const uint64_t minor, const uint64_t
#define CLUSTER_VERSION_3000 (oceanbase::common::cal_version(3, 0, 0))
#define CLUSTER_VERSION_3000 (oceanbase::common::cal_version(3, 0, 0))
#define CLUSTER_VERSION_3100 (oceanbase::common::cal_version(3, 1, 0))
#define CLUSTER_VERSION_3100 (oceanbase::common::cal_version(3, 1, 0))
#define CLUSTER_VERSION_311 (oceanbase::common::cal_version(3, 1, 1))
#define CLUSTER_VERSION_311 (oceanbase::common::cal_version(3, 1, 1))
#define CLUSTER_VERSION_312 (oceanbase::common::cal_version(3, 1, 2))
#define CLUSTER_VERSION_MAX UINT64_MAX
#define CLUSTER_VERSION_MAX UINT64_MAX
// FIXME If you update the above version, please update me, CLUSTER_CURRENT_VERSION & ObUpgradeChecker!!!!!!
// FIXME If you update the above version, please update me, CLUSTER_CURRENT_VERSION & ObUpgradeChecker!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#define CLUSTER_CURRENT_VERSION CLUSTER_VERSION_31
1
#define CLUSTER_CURRENT_VERSION CLUSTER_VERSION_31
2
#define GET_MIN_CLUSTER_VERSION() (oceanbase::common::ObClusterVersion::get_instance().get_cluster_version())
#define GET_MIN_CLUSTER_VERSION() (oceanbase::common::ObClusterVersion::get_instance().get_cluster_version())
#define GET_UNIS_CLUSTER_VERSION() (::oceanbase::lib::get_unis_compat_version() ?: GET_MIN_CLUSTER_VERSION())
#define GET_UNIS_CLUSTER_VERSION() (::oceanbase::lib::get_unis_compat_version() ?: GET_MIN_CLUSTER_VERSION())
...
...
src/share/ob_upgrade_utils.cpp
浏览文件 @
fa8b8384
...
@@ -30,39 +30,8 @@ using namespace rootserver;
...
@@ -30,39 +30,8 @@ using namespace rootserver;
namespace
share
{
namespace
share
{
#define CALC_CLUSTER_VERSION(major, minor, patch) (((major) << 32) + ((minor) << 16) + (patch))
#define CALC_CLUSTER_VERSION(major, minor, patch) (((major) << 32) + ((minor) << 16) + (patch))
const
uint64_t
ObUpgradeChecker
::
UPGRADE_PATH
[
CLUTER_VERSION_NUM
]
=
{
const
uint64_t
ObUpgradeChecker
::
UPGRADE_PATH
[
CLUTER_VERSION_NUM
]
=
{
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
3UL
),
// 1.4.3
CALC_CLUSTER_VERSION
(
3UL
,
1UL
,
1UL
),
//3.1.1
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
40UL
),
// 1.4.40
CALC_CLUSTER_VERSION
(
3UL
,
1UL
,
2UL
)
//3.1.2
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
50UL
),
// 1.4.50
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
51UL
),
// 1.4.51
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
60UL
),
// 1.4.60
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
61UL
),
// 1.4.61
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
70UL
),
// 1.4.70
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
71UL
),
// 1.4.71
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
72UL
),
// 1.4.72
CALC_CLUSTER_VERSION
(
1UL
,
4UL
,
76UL
),
// 1.4.76
CALC_CLUSTER_VERSION
(
2UL
,
0UL
,
0UL
),
// 2.0.0
CALC_CLUSTER_VERSION
(
2UL
,
1UL
,
0UL
),
// 2.1.0
CALC_CLUSTER_VERSION
(
2UL
,
1UL
,
1UL
),
// 2.1.1
CALC_CLUSTER_VERSION
(
2UL
,
1UL
,
11UL
),
// 2.1.11
CALC_CLUSTER_VERSION
(
2UL
,
1UL
,
20UL
),
// 2.1.20
CALC_CLUSTER_VERSION
(
2UL
,
1UL
,
30UL
),
// 2.1.30
CALC_CLUSTER_VERSION
(
2UL
,
1UL
,
31UL
),
// 2.1.31
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
0UL
),
// 2.2.0
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
1UL
),
// 2.2.1
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
20UL
),
// 2.2.20
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
30UL
),
// 2.2.30
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
40UL
),
// 2.2.40
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
50UL
),
// 2.2.50
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
60UL
),
// 2.2.60
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
70UL
),
// 2.2.70
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
71UL
),
// 2.2.71
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
72UL
),
// 2.2.72
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
73UL
),
// 2.2.73
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
74UL
),
// 2.2.74
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
75UL
),
// 2.2.75
CALC_CLUSTER_VERSION
(
2UL
,
2UL
,
76UL
),
// 2.2.76
CALC_CLUSTER_VERSION
(
3UL
,
1UL
,
0UL
),
// 3.1.0
CALC_CLUSTER_VERSION
(
3UL
,
1UL
,
1UL
)
//3.1.1
};
};
bool
ObUpgradeChecker
::
check_cluster_version_exist
(
const
uint64_t
version
)
bool
ObUpgradeChecker
::
check_cluster_version_exist
(
const
uint64_t
version
)
...
@@ -1117,16 +1086,8 @@ int ObUpgradeProcesserSet::init(ObBaseUpgradeProcessor::UpgradeMode mode, common
...
@@ -1117,16 +1086,8 @@ int ObUpgradeProcesserSet::init(ObBaseUpgradeProcessor::UpgradeMode mode, common
} \
} \
}
}
// order by cluster version asc
// order by cluster version asc
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
60
);
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
70
);
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
71
);
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
72
);
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
73
);
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
74
);
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
75
);
INIT_PROCESSOR_BY_VERSION
(
2
,
2
,
76
);
INIT_PROCESSOR_BY_VERSION
(
3
,
1
,
0
);
INIT_PROCESSOR_BY_VERSION
(
3
,
1
,
1
);
INIT_PROCESSOR_BY_VERSION
(
3
,
1
,
1
);
INIT_PROCESSOR_BY_VERSION
(
3
,
1
,
2
);
#undef INIT_PROCESSOR_BY_VERSION
#undef INIT_PROCESSOR_BY_VERSION
inited_
=
true
;
inited_
=
true
;
}
}
...
...
src/share/ob_upgrade_utils.h
浏览文件 @
fa8b8384
...
@@ -181,7 +181,7 @@ public:
...
@@ -181,7 +181,7 @@ public:
static
bool
check_cluster_version_exist
(
const
uint64_t
version
);
static
bool
check_cluster_version_exist
(
const
uint64_t
version
);
public:
public:
static
const
int64_t
CLUTER_VERSION_NUM
=
33
;
static
const
int64_t
CLUTER_VERSION_NUM
=
2
;
static
const
uint64_t
UPGRADE_PATH
[
CLUTER_VERSION_NUM
];
static
const
uint64_t
UPGRADE_PATH
[
CLUTER_VERSION_NUM
];
};
};
...
@@ -231,6 +231,7 @@ DEF_SIMPLE_UPGRARD_PROCESSER(2, 2, 76);
...
@@ -231,6 +231,7 @@ DEF_SIMPLE_UPGRARD_PROCESSER(2, 2, 76);
// 3.1.0
// 3.1.0
DEF_SIMPLE_UPGRARD_PROCESSER
(
3
,
1
,
0
);
DEF_SIMPLE_UPGRARD_PROCESSER
(
3
,
1
,
0
);
DEF_SIMPLE_UPGRARD_PROCESSER
(
3
,
1
,
1
);
DEF_SIMPLE_UPGRARD_PROCESSER
(
3
,
1
,
1
);
DEF_SIMPLE_UPGRARD_PROCESSER
(
3
,
1
,
2
);
/* =========== upgrade processor end ============= */
/* =========== upgrade processor end ============= */
...
...
src/share/parameter/ob_parameter_seed.ipp
浏览文件 @
fa8b8384
...
@@ -275,7 +275,6 @@ DEF_BOOL(_enable_static_typing_engine, OB_CLUSTER_PARAMETER, "True",
...
@@ -275,7 +275,6 @@ DEF_BOOL(_enable_static_typing_engine, OB_CLUSTER_PARAMETER, "True",
"specifies whether static typing sql execution engine is activated",
"specifies whether static typing sql execution engine is activated",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
// https://yuque.antfin-inc.com/ob/product_functionality_review/zlp56c
DEF_BOOL(_enable_defensive_check, OB_CLUSTER_PARAMETER, "True",
DEF_BOOL(_enable_defensive_check, OB_CLUSTER_PARAMETER, "True",
"specifies whether allow to do some defensive checks when the query is executed",
"specifies whether allow to do some defensive checks when the query is executed",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
...
@@ -519,7 +518,7 @@ DEF_TIME(get_leader_candidate_rpc_timeout, OB_CLUSTER_PARAMETER, "9s", "[2s, 180
...
@@ -519,7 +518,7 @@ DEF_TIME(get_leader_candidate_rpc_timeout, OB_CLUSTER_PARAMETER, "9s", "[2s, 180
"the time during a get leader candidate rpc request "
"the time during a get leader candidate rpc request "
"is permitted to execute before it is terminated. Range: [2s, 180s]",
"is permitted to execute before it is terminated. Range: [2s, 180s]",
ObParameterAttr(Section::ROOT_SERVICE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
ObParameterAttr(Section::ROOT_SERVICE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_STR(min_observer_version, OB_CLUSTER_PARAMETER, "3.1.
1
", "the min observer version",
DEF_STR(min_observer_version, OB_CLUSTER_PARAMETER, "3.1.
2
", "the min observer version",
ObParameterAttr(Section::ROOT_SERVICE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
ObParameterAttr(Section::ROOT_SERVICE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(enable_ddl, OB_CLUSTER_PARAMETER, "True",
DEF_BOOL(enable_ddl, OB_CLUSTER_PARAMETER, "True",
"specifies whether DDL operation is turned on. "
"specifies whether DDL operation is turned on. "
...
...
src/share/system_variable/gen_ob_sys_variables.py
0 → 100755
浏览文件 @
fa8b8384
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import
json
import
os
import
stat
import
shutil
import
sys
VARCHAR
=
"varchar"
INT
=
"int"
UINT
=
"uint"
TINY
=
"tinyint"
BOOL
=
"bool"
NUMERIC
=
"numeric"
ENUM
=
"enum"
# `ob_max_sys_var_id`表示当前版本预分配的可以使用的system var id的最大值,
# 系统会根据ob_max_sys_var_id的值预分配sys var id -> sys var的映射数组,不能将其随意调大,
# 如果需要分配的系统变量的sys var id必须大于`ob_max_sys_var_id`,需要将`ob_max_sys_var_id`调大
ob_max_sys_var_id
=
20000
flag_dict
=
{}
flag_dict
[
"GLOBAL"
]
=
"GLOBAL_SCOPE"
flag_dict
[
"SESSION"
]
=
"SESSION_SCOPE"
flag_dict
[
"READONLY"
]
=
"READONLY"
flag_dict
[
"READ"
]
=
"READONLY"
flag_dict
[
"SESSION_READONLY"
]
=
"SESSION_READONLY"
flag_dict
[
"INVISIBLE"
]
=
"INVISIBLE"
flag_dict
[
"NULL"
]
=
"NULLABLE"
flag_dict
[
"NULLABLE"
]
=
"NULLABLE"
flag_dict
[
"INFLUENCE_PLAN"
]
=
"INFLUENCE_PLAN"
flag_dict
[
"NEED_SERIALIZE"
]
=
"NEED_SERIALIZE"
flag_dict
[
"QUERY_SENSITIVE"
]
=
"QUERY_SENSITIVE"
flag_dict
[
"ORACLE_ONLY"
]
=
"ORACLE_ONLY"
flag_dict
[
"WITH_CREATE"
]
=
"WITH_CREATE"
flag_dict
[
"WITH_UPGRADE"
]
=
"WITH_UPGRADE"
flag_dict
[
"MYSQL_ONLY"
]
=
"MYSQL_ONLY"
flag_value_dict
=
{}
flag_value_dict
[
"GLOBAL"
]
=
1L
flag_value_dict
[
"SESSION"
]
=
(
1L
<<
1
)
flag_value_dict
[
"READONLY"
]
=
(
1L
<<
2
)
flag_value_dict
[
"SESSION_READONLY"
]
=
(
1L
<<
3
)
flag_value_dict
[
"INVISIBLE"
]
=
(
1L
<<
4
)
flag_value_dict
[
"NULL"
]
=
(
1L
<<
5
)
flag_value_dict
[
"NULLABLE"
]
=
(
1L
<<
5
)
flag_value_dict
[
"INFLUENCE_PLAN"
]
=
(
1L
<<
6
)
flag_value_dict
[
"NEED_SERIALIZE"
]
=
(
1L
<<
7
)
flag_value_dict
[
"QUERY_SENSITIVE"
]
=
(
1L
<<
8
)
flag_value_dict
[
"ORACLE_ONLY"
]
=
(
1L
<<
9
)
flag_value_dict
[
"WITH_CREATE"
]
=
(
1L
<<
10
)
flag_value_dict
[
"WITH_UPGRADE"
]
=
(
1L
<<
11
)
flag_value_dict
[
"MYSQL_ONLY"
]
=
(
1L
<<
12
)
type_dict
=
{}
type_dict
[
"tinyint"
]
=
"ObTinyIntType"
type_dict
[
"int"
]
=
"ObIntType"
type_dict
[
"uint"
]
=
"ObUInt64Type"
type_dict
[
"numeric"
]
=
"ObNumberType"
type_dict
[
"varchar"
]
=
"ObVarcharType"
type_dict
[
"bool"
]
=
"ObIntType"
# FIXME: tinyint?
type_dict
[
"enum"
]
=
"ObIntType"
# 这个映射是建立在ObObjType的值不改变的前提的,如果ObObjType的值改变,这里也要跟着改
type_value_dict
=
{}
type_value_dict
[
"tinyint"
]
=
1
type_value_dict
[
"int"
]
=
5
type_value_dict
[
"uint"
]
=
10
type_value_dict
[
"numeric"
]
=
15
type_value_dict
[
"varchar"
]
=
22
type_value_dict
[
"bool"
]
=
5
# FIXME: tinyint?
type_value_dict
[
"enum"
]
=
5
required_attrs
=
[
"publish_version"
,
"info_cn"
,
"background_cn"
,
"ref_url"
]
ignored_attrs
=
[
"publish_version"
,
"info_cn"
,
"background_cn"
,
"ref_url"
]
file_head_annotation
=
"""
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
"""
def
parse_json
(
json_file_name
):
json_file
=
open
(
json_file_name
,
'r'
)
all_the_vars
=
json_file
.
read
(
)
json_Dict
=
json
.
loads
(
all_the_vars
)
list_sorted_by_name
=
sorted
(
json_Dict
.
iteritems
(),
key
=
lambda
d
:
d
[
0
])
list_sorted_by_id
=
sorted
(
json_Dict
.
iteritems
(),
key
=
lambda
d
:
d
[
1
][
'id'
])
json_file
.
close
()
return
(
json_Dict
,
list_sorted_by_name
,
list_sorted_by_id
)
def
make_alias_file
(
pdir
,
alias_file_name
,
sorted_list
):
alias_file
=
open
(
alias_file_name
,
'w'
)
alias_file
.
write
(
file_head_annotation
);
alias_file
.
write
(
"""
/* 此处定义所有系统变量的名字。初始化@see ob_ddl_operation.cpp和ob_basic_session_info.cpp
* @note: 所有OB特有的非mysql的系统变量,都以ob_开头,以区别于mysql系统变量的名字空间。
* 反之,所有不以ob_开头的系统变量都必须和mysql语义完全兼容。 */
"""
)
suffix_idx
=
alias_file_name
.
find
(
".h"
)
file_def_str
=
"OCEANBASE_"
+
pdir
.
replace
(
"/"
,
"_"
).
upper
()
+
"_"
+
alias_file_name
[
0
:
suffix_idx
].
upper
()
+
"_"
alias_file
.
write
(
"#ifndef "
+
file_def_str
+
"
\n
"
);
alias_file
.
write
(
"#define "
+
file_def_str
+
"
\n
"
);
alias_file
.
write
(
"namespace oceanbase
\n
"
);
alias_file
.
write
(
"{
\n
"
);
alias_file
.
write
(
"namespace share
\n
"
);
alias_file
.
write
(
"{
\n
"
);
for
(
name
,
attributes
)
in
sorted_list
:
alias
=
attributes
[
'name'
]
alias_prefix
=
alias
[
0
:
3
]
if
alias_prefix
==
str
(
"ob_"
):
alias
=
alias
[
3
:]
alias_upper
=
alias
.
upper
()
out
=
" static const char* const OB_SV_"
+
str
(
alias_upper
)
+
" =
\"
"
+
str
(
name
)
+
"
\"
;
\n
"
alias_file
.
write
(
out
)
alias_file
.
write
(
"
\n
"
);
alias_file
.
write
(
"}
\n
"
);
alias_file
.
write
(
"}
\n
"
);
alias_file
.
write
(
"#endif //OCEANBASE_COMMON_OB_SYSTEM_VARIABLE_ALIAS_H_
\n
"
);
alias_file
.
write
(
"
\n
"
);
alias_file
.
close
()
print
(
"Generate "
+
str
(
alias_file_name
)
+
" successfully!
\n
"
);
return
def
make_head_file
(
pdir
,
head_file_name
,
sorted_list
):
head_file
=
open
(
head_file_name
,
'w'
)
head_file
.
write
(
file_head_annotation
);
suffix_idx
=
head_file_name
.
find
(
".h"
)
file_def_str
=
"OCEANBASE_"
+
pdir
.
replace
(
"/"
,
"_"
).
upper
()
+
"_"
+
head_file_name
[
0
:
suffix_idx
].
upper
()
+
"_"
head_file
.
write
(
"#ifndef "
+
file_def_str
+
"
\n
"
);
head_file
.
write
(
"#define "
+
file_def_str
+
"
\n
"
);
head_file
.
write
(
"#include
\"
share/system_variable/ob_sys_var_class_type.h
\"\n
"
);
head_file
.
write
(
"#include <stdint.h>
\n
"
);
head_file
.
write
(
"#include
\"
common/object/ob_object.h
\"\n
"
);
head_file
.
write
(
"namespace oceanbase
\n
"
);
head_file
.
write
(
"{
\n
"
);
head_file
.
write
(
"namespace share
\n
"
);
head_file
.
write
(
"{
\n
"
);
head_file
.
write
(
"// ObSysVarFlag的值不可随意增删改, 有任何增删改要同时同步到sql/session/gen_ob_sys_variables.py的flag_value_dict变量中
\n
"
);
head_file
.
write
(
"struct ObSysVarFlag
\n
"
);
head_file
.
write
(
"{
\n
"
);
head_file
.
write
(
" const static int64_t NONE = 0LL;
\n
"
);
head_file
.
write
(
" const static int64_t GLOBAL_SCOPE = 1LL;
\n
"
);
head_file
.
write
(
" const static int64_t SESSION_SCOPE = (1LL << 1);
\n
"
);
head_file
.
write
(
" const static int64_t READONLY = (1LL << 2);
\n
"
);
head_file
.
write
(
" const static int64_t SESSION_READONLY = (1LL << 3);
\n
"
);
head_file
.
write
(
" const static int64_t INVISIBLE = (1LL << 4);
\n
"
);
head_file
.
write
(
" const static int64_t NULLABLE = (1LL << 5);
\n
"
);
head_file
.
write
(
" const static int64_t INFLUENCE_PLAN = (1LL << 6);
\n
"
);
head_file
.
write
(
" const static int64_t NEED_SERIALIZE = (1LL << 7);
\n
"
);
head_file
.
write
(
" const static int64_t QUERY_SENSITIVE = (1LL << 8);
\n
"
);
head_file
.
write
(
" const static int64_t ORACLE_ONLY = (1LL << 9);
\n
"
);
head_file
.
write
(
" const static int64_t WITH_CREATE = (1LL << 10);
\n
"
);
head_file
.
write
(
" const static int64_t WITH_UPGRADE = (1LL << 11);
\n
"
);
head_file
.
write
(
" const static int64_t MYSQL_ONLY = (1LL << 12);
\n
"
);
head_file
.
write
(
"};
\n
"
);
head_file
.
write
(
"struct ObSysVarFromJson{
\n
"
);
head_file
.
write
(
" ObSysVarClassType id_;
\n
"
);
head_file
.
write
(
" common::ObString name_;
\n
"
);
head_file
.
write
(
" common::ObObjType data_type_;
\n
"
);
head_file
.
write
(
" common::ObString value_;
\n
"
);
head_file
.
write
(
" common::ObString min_val_;
\n
"
);
head_file
.
write
(
" common::ObString max_val_;
\n
"
);
head_file
.
write
(
" common::ObString enum_names_;
\n
"
);
head_file
.
write
(
" common::ObString info_;
\n
"
);
head_file
.
write
(
" int64_t flags_;
\n
"
);
head_file
.
write
(
" common::ObString alias_;
\n
"
);
head_file
.
write
(
" common::ObString base_class_;
\n
"
);
head_file
.
write
(
" common::ObString on_check_and_convert_func_;
\n
"
);
head_file
.
write
(
" common::ObString on_update_func_;
\n
"
);
head_file
.
write
(
" common::ObString to_select_obj_func_;
\n
"
);
head_file
.
write
(
" common::ObString to_show_str_func_;
\n
"
);
head_file
.
write
(
" common::ObString get_meta_type_func_;
\n
"
);
head_file
.
write
(
" common::ObString session_special_update_func_;
\n
"
);
head_file
.
write
(
"
\n
"
);
head_file
.
write
(
" ObSysVarFromJson():id_(SYS_VAR_INVALID), name_(
\"\"
), data_type_(common::ObNullType), value_(
\"\"
), min_val_(
\"\"
), max_val_(
\"\"
), enum_names_(
\"\"
), info_(
\"\"
), flags_(ObSysVarFlag::NONE), alias_(
\"\"
), base_class_(
\"\"
), on_check_and_convert_func_(""), on_update_func_(""), to_select_obj_func_(""), to_show_str_func_(""), get_meta_type_func_(""), session_special_update_func_("") {}
\n
"
);
head_file
.
write
(
"};
\n
"
);
head_file
.
write
(
"
\n
"
);
head_file
.
write
(
"class ObSysVariables
\n
"
);
head_file
.
write
(
"{
\n
"
);
head_file
.
write
(
"public:
\n
"
);
head_file
.
write
(
" static int64_t get_all_sys_var_count();
\n
"
);
head_file
.
write
(
" static ObSysVarClassType get_sys_var_id(int64_t i);
\n
"
);
head_file
.
write
(
" static common::ObString get_name(int64_t i);
\n
"
);
head_file
.
write
(
" static common::ObObjType get_type(int64_t i);
\n
"
);
head_file
.
write
(
" static common::ObString get_value(int64_t i);
\n
"
);
head_file
.
write
(
" static common::ObString get_min(int64_t i);
\n
"
);
head_file
.
write
(
" static common::ObString get_max(int64_t i);
\n
"
);
head_file
.
write
(
" static common::ObString get_info(int64_t i);
\n
"
);
head_file
.
write
(
" static int64_t get_flags(int64_t i);
\n
"
);
head_file
.
write
(
" static bool need_serialize(int64_t i);
\n
"
);
head_file
.
write
(
" static bool is_oracle_only(int64_t i);
\n
"
);
head_file
.
write
(
" static bool is_mysql_only(int64_t i);
\n
"
);
head_file
.
write
(
" static common::ObString get_alias(int64_t i);
\n
"
);
head_file
.
write
(
" static const common::ObObj &get_default_value(int64_t i);
\n
"
)
head_file
.
write
(
" static int64_t get_amount();
\n
"
);
head_file
.
write
(
" static int set_value(const char *name, const char * new_value);
\n
"
);
head_file
.
write
(
" static int set_value(const common::ObString &name, const common::ObString &new_value);
\n
"
);
head_file
.
write
(
" static int init_default_values();
\n
"
);
head_file
.
write
(
"};
\n
"
);
head_file
.
write
(
"
\n
"
);
head_file
.
write
(
"class ObSysVarsToIdxMap
\n
"
);
head_file
.
write
(
"{
\n
"
);
head_file
.
write
(
"public:
\n
"
);
head_file
.
write
(
" static int64_t get_store_idx(int64_t var_id);
\n
"
);
head_file
.
write
(
" static bool has_invalid_sys_var_id();
\n
"
);
head_file
.
write
(
"};
\n
"
);
head_file
.
write
(
"
\n
"
);
head_file
.
write
(
"} // end namespace share
\n
"
);
head_file
.
write
(
"} // end namespace oceanbase
\n
"
);
head_file
.
write
(
"
\n
"
);
head_file
.
write
(
"#endif /* "
+
file_def_str
+
" */
\n
"
);
head_file
.
close
(
)
print
(
"Generate "
+
str
(
head_file_name
)
+
" successfully!
\n
"
);
return
def
make_flags_value
(
flags
):
value
=
""
flags
=
flags
.
split
(
"|"
)
for
i
in
range
(
0
,
len
(
flags
)):
value
+=
(
"ObSysVarFlag::"
+
flag_dict
[
flags
[
i
].
strip
().
upper
()])
if
(
i
!=
len
(
flags
)
-
1
):
value
+=
" | "
return
value
def
make_type_value
(
type
):
return
type_dict
[
type
.
strip
()]
def
make_cpp_file
(
pdir
,
cpp_file_name
,
sorted_list
):
cpp_file
=
open
(
cpp_file_name
,
'w'
)
cpp_file
.
write
(
file_head_annotation
)
cpp_file
.
write
(
"#define USING_LOG_PREFIX SHARE
\n
"
)
cpp_file
.
write
(
"#include
\"
"
+
pdir
+
"/"
+
cpp_file_name
.
replace
(
".cpp"
,
".h"
)
+
"
\"\n
"
)
cpp_file
.
write
(
"#include
\"
share/system_variable/ob_system_variable_factory.h
\"\n
"
)
cpp_file
.
write
(
"#include
\"
share/object/ob_obj_cast.h
\"\n
"
)
cpp_file
.
write
(
"#include
\"
common/expression/ob_expr_string_buf.h
\"\n
"
)
cpp_file
.
write
(
"#include
\"
common/expression/ob_expr_string_buf.h
\"\n
"
)
cpp_file
.
write
(
"using namespace oceanbase::common;
\n
"
);
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
write
(
"namespace oceanbase
\n
"
);
cpp_file
.
write
(
"{
\n
"
);
cpp_file
.
write
(
"namespace share
\n
"
);
cpp_file
.
write
(
"{
\n
"
);
cpp_file
.
write
(
"static ObSysVarFromJson ObSysVars[ObSysVarFactory::ALL_SYS_VARS_COUNT];
\n
"
)
cpp_file
.
write
(
"static ObObj ObSysVarDefaultValues[ObSysVarFactory::ALL_SYS_VARS_COUNT];
\n
"
)
cpp_file
.
write
(
"static ObArenaAllocator ObSysVarAllocator(ObModIds::OB_COMMON_SYS_VAR_DEFAULT_VALUE);
\n
"
)
cpp_file
.
write
(
"static int64_t ObSysVarsIdToArrayIdx[ObSysVarFactory::OB_MAX_SYS_VAR_ID];
\n
"
)
cpp_file
.
write
(
"// VarsInit中需要判断当前最大的SysVars对应的id,是否大于OB_MAX_SYS_VAR_ID
\n
"
)
cpp_file
.
write
(
"// 如果大于OB_MAX_SYS_VAR_ID表示存在无效的SysVarsId
\n
"
)
cpp_file
.
write
(
"static bool HasInvalidSysVar = false;
\n
"
)
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
write
(
"static struct VarsInit{
\n
"
)
cpp_file
.
write
(
" VarsInit(){
\n
"
)
var_num
=
0
cpp_file
.
write
(
" // 保存当前系统变量的最大的id
\n
"
)
cpp_file
.
write
(
" int64_t cur_max_var_id = 0;
\n
"
)
cpp_file
.
write
(
" // ObSysVarsIdToArrayIdx数组默认初始值为-1,-1表示无效索引
\n
"
)
cpp_file
.
write
(
" memset(ObSysVarsIdToArrayIdx, -1, sizeof(ObSysVarsIdToArrayIdx));
\n
"
)
for
(
name
,
attributes
)
in
sorted_list
:
for
required_attr
in
required_attrs
:
if
required_attr
not
in
attributes
:
sys
.
exit
(
"attribute '"
+
str
(
required_attr
)
+
"' is required for item '"
+
str
(
name
)
+
"'"
)
for
(
attribute_key
,
attribute_value
)
in
attributes
.
items
():
if
attribute_value
==
" "
:
attribute_value
=
str
(
""
)
if
attribute_key
in
ignored_attrs
:
continue
elif
attribute_key
==
"id"
:
out
=
" ObSysVars["
+
str
(
var_num
)
+
"]."
+
str
(
attribute_key
)
+
"_ = SYS_VAR_"
+
str
(
name
).
upper
()
+
" ;
\n
"
elif
attribute_key
==
"flags"
:
out
=
" ObSysVars["
+
str
(
var_num
)
+
"]."
+
str
(
attribute_key
)
+
"_ = "
+
make_flags_value
(
attribute_value
)
+
" ;
\n
"
elif
attribute_key
==
"data_type"
:
out
=
" ObSysVars["
+
str
(
var_num
)
+
"]."
+
str
(
attribute_key
)
+
"_ = "
+
make_type_value
(
attribute_value
)
+
" ;
\n
"
else
:
out
=
" ObSysVars["
+
str
(
var_num
)
+
"]."
+
str
(
attribute_key
)
+
"_ =
\"
"
+
str
(
attribute_value
)
+
"
\"
;
\n
"
cpp_file
.
write
(
out
)
if
attribute_key
==
"id"
:
out
=
" cur_max_var_id = MAX(cur_max_var_id, "
+
"static_cast<int64_t>(SYS_VAR_"
+
str
(
name
).
upper
()
+
")"
+
") ;
\n
"
cpp_file
.
write
(
out
)
out
=
" ObSysVarsIdToArrayIdx["
+
"SYS_VAR_"
+
str
(
name
).
upper
()
+
"] = "
+
str
(
var_num
)
+
" ;
\n
"
cpp_file
.
write
(
out
)
alias
=
attributes
[
'name'
]
alias_prefix
=
alias
[
0
:
3
]
if
alias_prefix
==
str
(
"ob_"
):
alias
=
alias
[
3
:]
alias_upper
=
alias
.
upper
()
out
=
" ObSysVars["
+
str
(
var_num
)
+
"].alias_ =
\"
OB_SV_"
+
str
(
alias_upper
)
+
"
\"
;
\n
"
cpp_file
.
write
(
out
)
cpp_file
.
write
(
"
\n
"
)
var_num
+=
1
cpp_file
.
write
(
" if (cur_max_var_id >= ObSysVarFactory::OB_MAX_SYS_VAR_ID) {
\n
"
)
cpp_file
.
write
(
" HasInvalidSysVar = true;
\n
"
)
cpp_file
.
write
(
" }
\n
"
)
cpp_file
.
write
(
" }
\n
"
)
cpp_file
.
write
(
"}vars_init;
\n
"
)
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
write
(
"static int64_t var_amount = "
+
str
(
var_num
)
+
";"
+
"
\n
"
)
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
write
(
"int64_t ObSysVariables::get_all_sys_var_count(){ return ObSysVarFactory::ALL_SYS_VARS_COUNT;}
\n
"
)
cpp_file
.
write
(
"ObSysVarClassType ObSysVariables::get_sys_var_id(int64_t i){ return ObSysVars[i].id_;}
\n
"
)
cpp_file
.
write
(
"ObString ObSysVariables::get_name(int64_t i){ return ObSysVars[i].name_;}
\n
"
)
cpp_file
.
write
(
"ObObjType ObSysVariables::get_type(int64_t i){ return ObSysVars[i].data_type_;}
\n
"
)
cpp_file
.
write
(
"ObString ObSysVariables::get_value(int64_t i){ return ObSysVars[i].value_;}
\n
"
)
cpp_file
.
write
(
"ObString ObSysVariables::get_min(int64_t i){ return ObSysVars[i].min_val_;}
\n
"
)
cpp_file
.
write
(
"ObString ObSysVariables::get_max(int64_t i){ return ObSysVars[i].max_val_;}
\n
"
)
cpp_file
.
write
(
"ObString ObSysVariables::get_info(int64_t i){ return ObSysVars[i].info_;}
\n
"
)
cpp_file
.
write
(
"int64_t ObSysVariables::get_flags(int64_t i){ return ObSysVars[i].flags_;}
\n
"
)
cpp_file
.
write
(
"bool ObSysVariables::need_serialize(int64_t i){ return ObSysVars[i].flags_ & ObSysVarFlag::NEED_SERIALIZE;}
\n
"
)
cpp_file
.
write
(
"bool ObSysVariables::is_oracle_only(int64_t i){ return ObSysVars[i].flags_ & ObSysVarFlag::ORACLE_ONLY;}
\n
"
)
cpp_file
.
write
(
"bool ObSysVariables::is_mysql_only(int64_t i){ return ObSysVars[i].flags_ & ObSysVarFlag::MYSQL_ONLY;}
\n
"
)
cpp_file
.
write
(
"ObString ObSysVariables::get_alias(int64_t i){ return ObSysVars[i].alias_;}
\n
"
)
cpp_file
.
write
(
"const ObObj &ObSysVariables::get_default_value(int64_t i){ return ObSysVarDefaultValues[i];}
\n
"
)
cpp_file
.
write
(
"int64_t ObSysVariables::get_amount(){ return var_amount;}
\n
"
)
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
write
(
"int ObSysVariables::set_value(const char *name, const char * new_value)
\n
"
)
cpp_file
.
write
(
"{
\n
"
)
cpp_file
.
write
(
" ObString tmp_name(static_cast<int32_t>(strlen(name)), name);
\n
"
)
cpp_file
.
write
(
" ObString tmp_value(static_cast<int32_t>(strlen(new_value)), new_value);
\n
"
)
cpp_file
.
write
(
" return set_value(tmp_name, tmp_value);
\n
"
)
cpp_file
.
write
(
"}
\n
"
)
cpp_file
.
write
(
"int ObSysVariables::set_value(const common::ObString &name, const common::ObString &new_value)
\n
"
)
cpp_file
.
write
(
"{
\n
"
)
cpp_file
.
write
(
" int ret = OB_SUCCESS;
\n
"
)
cpp_file
.
write
(
" bool name_exist = false;
\n
"
)
cpp_file
.
write
(
" for (int64_t i = 0; OB_SUCC(ret) && false == name_exist && i < var_amount; ++i){
\n
"
)
cpp_file
.
write
(
" if (0 == ObSysVars[i].name_.compare(name)) {
\n
"
)
cpp_file
.
write
(
" ObSysVars[i].value_.assign_ptr(new_value.ptr(), new_value.length());
\n
"
)
cpp_file
.
write
(
" name_exist = true;
\n
"
)
cpp_file
.
write
(
" }
\n
"
)
cpp_file
.
write
(
" }
\n
"
)
cpp_file
.
write
(
" if (OB_SUCC(ret)) {
\n
"
)
cpp_file
.
write
(
" if (false == name_exist) {
\n
"
)
cpp_file
.
write
(
" ret = OB_ENTRY_NOT_EXIST;
\n
"
)
cpp_file
.
write
(
" }
\n
"
)
cpp_file
.
write
(
" }
\n
"
)
cpp_file
.
write
(
" return ret;
\n
"
)
cpp_file
.
write
(
"}
\n
"
)
cpp_file
.
write
(
"""
int ObSysVariables::init_default_values()
{
int ret = OB_SUCCESS;
int64_t sys_var_count = get_amount();
for (int64_t i = 0; OB_SUCC(ret) && i < sys_var_count; ++i) {
const ObString &sys_var_val_str = ObSysVariables::get_value(i);
const ObObjType sys_var_type = ObSysVariables::get_type(i);
if (OB_UNLIKELY(sys_var_type == ObTimestampType)) {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("need tz_info when cast to timestamp", K(ret), K(sys_var_val_str));
} else {
ObObj in_obj;
ObObj out_obj;
in_obj.set_varchar(sys_var_val_str);
in_obj.set_collation_type(CS_TYPE_UTF8MB4_GENERAL_CI);
//varchar to others. so, no need to get collation from session
ObCastCtx cast_ctx(&ObSysVarAllocator,
NULL,
0,
CM_NONE,
CS_TYPE_INVALID,
NULL);
if (OB_FAIL(ObObjCaster::to_type(sys_var_type, cast_ctx, in_obj, out_obj))) {
ObString sys_var_name = ObSysVariables::get_name(i);
LOG_WARN("fail to cast object",
K(ret), "cell", in_obj, "from_type", ob_obj_type_str(in_obj.get_type()),
"to_type", ob_obj_type_str(sys_var_type), K(sys_var_name), K(i));
} else {
if (ob_is_string_type(out_obj.get_type())) {
out_obj.set_collation_level(CS_LEVEL_SYSCONST);
}
ObSysVarDefaultValues[i] = out_obj;
}
}
}
return ret;
}
"""
)
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
write
(
"int64_t ObSysVarsToIdxMap::get_store_idx(int64_t var_id){ return ObSysVarsIdToArrayIdx[var_id];}
\n
"
)
cpp_file
.
write
(
"bool ObSysVarsToIdxMap::has_invalid_sys_var_id(){ return HasInvalidSysVar;}
\n
"
)
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
write
(
"} // end namespace share
\n
"
)
cpp_file
.
write
(
"} // end namespace oceanbase
\n
"
)
cpp_file
.
write
(
"
\n
"
)
cpp_file
.
close
(
)
print
(
"Generate "
+
str
(
cpp_file_name
)
+
" successfully! Including "
+
str
(
var_num
)
+
" system variables.
\n
"
)
return
def
write_sys_var_class_types
(
wfile
,
sorted_list
):
wfile
.
write
(
"enum ObSysVarClassType
\n
{
\n
"
)
wfile
.
write
(
" SYS_VAR_INVALID = -1,
\n
"
)
for
(
name
,
attributes
)
in
sorted_list
:
wfile
.
write
(
" SYS_VAR_"
+
str
(
name
).
upper
()
+
" = "
+
str
(
attributes
[
'id'
])
+
",
\n
"
)
wfile
.
write
(
"};
\n
"
)
def
write_sys_var_classes
(
wfile
,
sorted_list
):
idx
=
0
for
(
name
,
attributes
)
in
sorted_list
:
write_sys_var_class
(
\
wfile
,
idx
,
str
(
name
),
\
attributes
[
"data_type"
],
\
attributes
[
"base_class"
]
if
"base_class"
in
attributes
.
keys
()
else
None
,
\
attributes
[
"on_check_and_convert_func"
]
if
"on_check_and_convert_func"
in
attributes
.
keys
()
else
None
,
\
attributes
[
"on_update_func"
]
if
"on_update_func"
in
attributes
.
keys
()
else
None
,
\
attributes
[
"to_select_obj_func"
]
if
"to_select_obj_func"
in
attributes
.
keys
()
else
None
,
\
attributes
[
"to_show_str_func"
]
if
"to_show_str_func"
in
attributes
.
keys
()
else
None
,
\
attributes
[
"get_meta_type_func"
]
if
"get_meta_type_func"
in
attributes
.
keys
()
else
None
,
\
attributes
[
"session_special_update_func"
]
if
"session_special_update_func"
in
attributes
.
keys
()
else
None
)
idx
+=
1
def
write_sys_var_fac_class
(
wfile
,
sorted_list
):
mysql_sys_var_names_count
=
0
ob_sys_var_names_count
=
0
for
(
name
,
attributes
)
in
sorted_list
:
if
attributes
[
'id'
]
<
10000
:
mysql_sys_var_names_count
+=
1
else
:
ob_sys_var_names_count
+=
1
wfile
.
write
(
"""
class ObSysVarFactory
{
public:
ObSysVarFactory();
virtual ~ObSysVarFactory();
void destroy();
int create_sys_var(ObSysVarClassType sys_var_id, ObBasicSysVar *&sys_var);
int create_all_sys_vars();
int free_sys_var(ObBasicSysVar *sys_var, int64_t sys_var_idx);
static int calc_sys_var_store_idx(ObSysVarClassType sys_var_id, int64_t &store_idx);
static int calc_sys_var_store_idx_by_name(const common::ObString &sys_var_name, int64_t &store_idx);
static bool is_valid_sys_var_store_idx(int64_t store_idx);
static ObSysVarClassType find_sys_var_id_by_name(const common::ObString &sys_var_name, bool is_from_sys_table = false); //二分查找
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);
const static int64_t MYSQL_SYS_VARS_COUNT = """
)
wfile
.
write
(
str
(
mysql_sys_var_names_count
)
+
";"
)
wfile
.
write
(
"""
const static int64_t OB_SYS_VARS_COUNT = """
)
wfile
.
write
(
str
(
ob_sys_var_names_count
)
+
";"
)
wfile
.
write
(
"""
const static int64_t ALL_SYS_VARS_COUNT = MYSQL_SYS_VARS_COUNT + OB_SYS_VARS_COUNT;
const static int16_t OB_SPECIFIC_SYS_VAR_ID_OFFSET = 10000;
// 表示当前OB能够使用的sys var id的最大值,正常情况下,不需要申请大于OB_MAX_SYS_VAR_ID的sys var id,
// 如果需要申请大于OB_MAX_SYS_VAR_ID的sys var id,需要先调整ob_max_sys_var_id的值
const static int32_t OB_MAX_SYS_VAR_ID = """
)
wfile
.
write
(
str
(
ob_max_sys_var_id
)
+
";"
)
wfile
.
write
(
"""
private:
static bool sys_var_name_case_cmp(const char *name1, const common::ObString &name2);
const static char *SYS_VAR_NAMES_SORTED_BY_NAME[ALL_SYS_VARS_COUNT];
const static ObSysVarClassType SYS_VAR_IDS_SORTED_BY_NAME[ALL_SYS_VARS_COUNT];
const static char *SYS_VAR_NAMES_SORTED_BY_ID[ALL_SYS_VARS_COUNT];
common::ObArenaAllocator allocator_;
ObBasicSysVar *store_[ALL_SYS_VARS_COUNT];
ObBasicSysVar *store_buf_[ALL_SYS_VARS_COUNT];
bool all_sys_vars_created_;
};
"""
)
def
write_sys_var_class
(
wfile
,
idx
,
sys_var_name
,
data_type
,
base_class
,
\
on_check_and_convert_func
,
on_update_func
,
to_select_obj_func
,
\
to_show_str_func
,
get_meta_type_func
,
session_special_update_func
):
name_segs
=
sys_var_name
.
split
(
"_"
)
sys_var_cls_name
=
"ObSysVar"
for
name_seg
in
name_segs
:
sys_var_cls_name
+=
name_seg
.
capitalize
()
base_cls_name
=
"invalid"
if
base_class
is
not
None
:
base_cls_name
=
base_class
elif
VARCHAR
==
data_type
:
base_cls_name
=
"ObVarcharSysVar"
elif
INT
==
data_type
:
base_cls_name
=
"ObIntSysVar"
elif
UINT
==
data_type
:
base_cls_name
=
"ObIntSysVar"
elif
TINY
==
data_type
:
base_cls_name
=
"ObTinyintSysVar"
elif
BOOL
==
data_type
:
base_cls_name
=
"ObBoolSysVar"
elif
NUMERIC
==
data_type
:
base_cls_name
=
"ObNumericSysVar"
elif
ENUM
==
data_type
:
base_cls_name
=
"ObEnumSysVar"
wfile
.
write
(
"class "
+
sys_var_cls_name
+
" : public "
+
base_cls_name
+
"
\n
"
)
wfile
.
write
(
"{
\n
"
);
if
ENUM
==
data_type
:
enum_name
=
sys_var_name
.
upper
();
enum_name
+=
"_NAMES"
wfile
.
write
(
"public:
\n
"
);
wfile
.
write
(
" const static char * "
+
enum_name
+
"[];
\n
"
);
wfile
.
write
(
"public:
\n
"
);
if
base_cls_name
==
"ObEnumSysVar"
:
wfile
.
write
(
" "
+
sys_var_cls_name
+
"() : "
+
base_cls_name
+
"("
+
enum_name
\
+
", "
+
(
"NULL"
if
on_check_and_convert_func
is
None
else
on_check_and_convert_func
)
\
+
", "
+
(
"NULL"
if
on_update_func
is
None
else
on_update_func
)
\
+
", "
+
(
"NULL"
if
to_select_obj_func
is
None
else
to_select_obj_func
)
\
+
", "
+
(
"NULL"
if
to_show_str_func
is
None
else
to_show_str_func
)
\
+
", "
+
(
"NULL"
if
get_meta_type_func
is
None
else
get_meta_type_func
)
\
+
") {}
\n
"
)
elif
base_cls_name
==
"ObSessionSpecialIntSysVar"
:
wfile
.
write
(
" "
+
sys_var_cls_name
+
"() : "
+
base_cls_name
+
"("
\
+
(
"NULL"
if
on_check_and_convert_func
is
None
else
on_check_and_convert_func
)
\
+
", "
+
(
"NULL"
if
session_special_update_func
is
None
else
session_special_update_func
)
\
+
", "
+
(
"NULL"
if
to_select_obj_func
is
None
else
to_select_obj_func
)
\
+
", "
+
(
"NULL"
if
to_show_str_func
is
None
else
to_show_str_func
)
\
+
", "
+
(
"NULL"
if
get_meta_type_func
is
None
else
get_meta_type_func
)
\
+
") {}
\n
"
)
elif
base_cls_name
==
"ObSessionSpecialVarcharSysVar"
:
wfile
.
write
(
" "
+
sys_var_cls_name
+
"() : "
+
base_cls_name
+
"("
\
+
(
"NULL"
if
on_check_and_convert_func
is
None
else
on_check_and_convert_func
)
\
+
", "
+
(
"NULL"
if
on_update_func
is
None
else
on_update_func
)
\
+
", "
+
(
"NULL"
if
session_special_update_func
is
None
else
session_special_update_func
)
\
+
", "
+
(
"NULL"
if
to_select_obj_func
is
None
else
to_select_obj_func
)
\
+
", "
+
(
"NULL"
if
to_show_str_func
is
None
else
to_show_str_func
)
\
+
", "
+
(
"NULL"
if
get_meta_type_func
is
None
else
get_meta_type_func
)
\
+
") {}
\n
"
)
elif
base_cls_name
==
"ObSessionSpecialBoolSysVar"
:
wfile
.
write
(
" "
+
sys_var_cls_name
+
"() : "
+
base_cls_name
+
"("
\
+
(
"NULL"
if
on_check_and_convert_func
is
None
else
on_check_and_convert_func
)
\
+
", "
+
(
"NULL"
if
on_update_func
is
None
else
on_update_func
)
\
+
", "
+
(
"NULL"
if
session_special_update_func
is
None
else
session_special_update_func
)
\
+
", "
+
(
"NULL"
if
to_select_obj_func
is
None
else
to_select_obj_func
)
\
+
", "
+
(
"NULL"
if
to_show_str_func
is
None
else
to_show_str_func
)
\
+
", "
+
(
"NULL"
if
get_meta_type_func
is
None
else
get_meta_type_func
)
\
+
") {}
\n
"
)
else
:
wfile
.
write
(
" "
+
sys_var_cls_name
+
"() : "
+
base_cls_name
+
"("
\
+
(
"NULL"
if
on_check_and_convert_func
is
None
else
on_check_and_convert_func
)
\
+
", "
+
(
"NULL"
if
on_update_func
is
None
else
on_update_func
)
\
+
", "
+
(
"NULL"
if
to_select_obj_func
is
None
else
to_select_obj_func
)
\
+
", "
+
(
"NULL"
if
to_show_str_func
is
None
else
to_show_str_func
)
\
+
", "
+
(
"NULL"
if
get_meta_type_func
is
None
else
get_meta_type_func
)
\
+
") {}
\n
"
)
wfile
.
write
(
" inline virtual ObSysVarClassType get_type() const { return SYS_VAR_"
+
sys_var_name
.
upper
()
+
"; }
\n
"
)
wfile
.
write
(
" inline virtual const common::ObObj &get_global_default_value() const { return ObSysVariables::get_default_value("
+
str
(
idx
)
+
"); }
\n
"
)
wfile
.
write
(
"};
\n
"
);
def
make_sys_var_class_type_h
(
pdir
,
filename
,
sorted_list
):
wfile
=
open
(
filename
,
'w'
)
wfile
.
write
(
file_head_annotation
);
suffix_idx
=
filename
.
find
(
".h"
)
file_def_str
=
"OCEANBASE_"
+
pdir
.
replace
(
"/"
,
"_"
).
upper
()
+
"_"
+
filename
[
0
:
suffix_idx
].
upper
()
+
"_"
wfile
.
write
(
"#ifndef "
+
file_def_str
+
"
\n
"
)
wfile
.
write
(
"#define "
+
file_def_str
+
"
\n
"
)
wfile
.
write
(
"#include <stdint.h>
\n
"
)
wfile
.
write
(
"""
namespace oceanbase
{
namespace share
{
"""
)
write_sys_var_class_types
(
wfile
,
sorted_list
)
wfile
.
write
(
"""
}
}
"""
)
wfile
.
write
(
"#endif //"
+
file_def_str
)
print
(
"Generate "
+
str
(
filename
)
+
" successfully!
\n
"
);
def
make_sys_var_h
(
pdir
,
filename
,
sorted_list
):
wfile
=
open
(
filename
,
'w'
)
wfile
.
write
(
file_head_annotation
);
suffix_idx
=
filename
.
find
(
".h"
)
file_def_str
=
"OCEANBASE_"
+
pdir
.
replace
(
"/"
,
"_"
).
upper
()
+
"_"
+
filename
[
0
:
suffix_idx
].
upper
()
+
"_"
wfile
.
write
(
"#ifndef "
+
file_def_str
+
"
\n
"
)
wfile
.
write
(
"#define "
+
file_def_str
+
"
\n
"
)
wfile
.
write
(
"#include
\"
common/object/ob_object.h
\"\n
"
)
wfile
.
write
(
"#include
\"
share/system_variable/ob_system_variable.h
\"\n
"
)
wfile
.
write
(
"#include
\"
share/system_variable/ob_system_variable_init.h
\"\n
"
)
wfile
.
write
(
"#include
\"
lib/allocator/page_arena.h
\"\n
"
)
wfile
.
write
(
"#include
\"
lib/string/ob_string.h
\"\n
"
);
wfile
.
write
(
"#include
\"
lib/container/ob_array.h
\"\n
"
)
wfile
.
write
(
"""
namespace oceanbase
{
namespace share
{
"""
)
write_sys_var_classes
(
wfile
,
sorted_list
)
wfile
.
write
(
"
\n
"
)
write_sys_var_fac_class
(
wfile
,
sorted_list
)
wfile
.
write
(
"""
}
}
"""
)
wfile
.
write
(
"#endif //"
+
file_def_str
)
print
(
"Generate "
+
str
(
filename
)
+
" successfully!
\n
"
);
def
make_sys_var_cpp
(
pdir
,
filename
,
list_sorted_by_name
,
list_sorted_by_id
):
wfile
=
open
(
filename
,
'w'
)
wfile
.
write
(
file_head_annotation
);
wfile
.
write
(
"#define USING_LOG_PREFIX SQL_SESSION
\n
"
);
wfile
.
write
(
"#include
\"
share/ob_define.h
\"\n
"
)
wfile
.
write
(
"#include
\"
"
+
pdir
+
"/"
+
filename
.
replace
(
".cpp"
,
".h"
)
+
"
\"\n
"
)
# wfile.write("#include \"share/system_variable/ob_system_variable_init.cpp\"\n")
wfile
.
write
(
"#include
\"
share/ob_errno.h
\"\n
"
)
wfile
.
write
(
"#include <algorithm>
\n
"
)
wfile
.
write
(
"using namespace oceanbase::common;
\n
"
);
wfile
.
write
(
"""
namespace oceanbase
{
namespace share
{
"""
)
for
(
name
,
attributes
)
in
list_sorted_by_id
:
if
ENUM
==
attributes
[
"data_type"
]:
name_segs
=
str
(
name
).
split
(
"_"
)
sys_var_cls_name
=
"ObSysVar"
for
name_seg
in
name_segs
:
sys_var_cls_name
+=
name_seg
.
capitalize
();
enum_name
=
str
(
name
).
upper
();
enum_name
+=
"_NAMES"
;
wfile
.
write
(
"const char *"
+
sys_var_cls_name
+
"::"
+
enum_name
+
"[] = {"
);
idx
=
0
for
val
in
attributes
[
"enum_names"
]:
if
idx
>
0
:
wfile
.
write
(
","
)
wfile
.
write
(
"
\n
\"
"
+
val
+
"
\"
"
)
idx
+=
1
wfile
.
write
(
",
\n
0
\n
};
\n
"
)
wfile
.
write
(
"""
const char *ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_NAME[] = {
"""
)
idx
=
0
for
(
name
,
attributes
)
in
list_sorted_by_name
:
if
idx
>
0
:
wfile
.
write
(
",
\n
"
)
wfile
.
write
(
"
\"
"
+
name
+
"
\"
"
)
idx
+=
1
wfile
.
write
(
"""
};
const ObSysVarClassType ObSysVarFactory::SYS_VAR_IDS_SORTED_BY_NAME[] = {
"""
)
idx
=
0
for
(
name
,
attributes
)
in
list_sorted_by_name
:
if
idx
>
0
:
wfile
.
write
(
",
\n
"
)
wfile
.
write
(
" SYS_VAR_"
+
str
(
name
).
upper
())
idx
+=
1
wfile
.
write
(
"""
};
const char *ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_ID[] = {
"""
)
idx
=
0
for
(
name
,
attributes
)
in
list_sorted_by_id
:
if
idx
>
0
:
wfile
.
write
(
",
\n
"
)
wfile
.
write
(
"
\"
"
+
name
+
"
\"
"
)
idx
+=
1
wfile
.
write
(
"""
};
bool ObSysVarFactory::sys_var_name_case_cmp(const char *name1, const ObString &name2)
{
return name2.case_compare(name1) > 0;
}
ObSysVarClassType ObSysVarFactory::find_sys_var_id_by_name(const ObString &sys_var_name,
bool is_from_sys_table /*= false*/)
{
int ret = OB_SUCCESS;
ObSysVarClassType sys_var_id = SYS_VAR_INVALID;
int64_t lower_idx = std::lower_bound(ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_NAME,
ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_NAME + ObSysVarFactory::ALL_SYS_VARS_COUNT,
sys_var_name, ObSysVarFactory::sys_var_name_case_cmp) -
ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_NAME;
if (OB_UNLIKELY(lower_idx < 0)) {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("invalid lower index", K(ret), K(sys_var_name), K(lower_idx), K(lbt()));
} else if (OB_UNLIKELY(lower_idx > ObSysVarFactory::ALL_SYS_VARS_COUNT)) {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("invalid lower index", K(ret), K(sys_var_name), K(lower_idx),
LITERAL_K(ObSysVarFactory::ALL_SYS_VARS_COUNT), K(lbt()));
} else if (OB_UNLIKELY(ObSysVarFactory::ALL_SYS_VARS_COUNT == lower_idx)) {
// std::lower_bound返回ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_NAME +
// ObSysVarFactory::ALL_SYS_VARS_COUNT的地址,即是找不到,而不是出错
ret = OB_SEARCH_NOT_FOUND;
} else if (0 != sys_var_name.case_compare(
ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_NAME[lower_idx])) {
// 找不到
ret = OB_SEARCH_NOT_FOUND;
} else {
sys_var_id = ObSysVarFactory::SYS_VAR_IDS_SORTED_BY_NAME[lower_idx]; // 找到了
}
if (OB_UNLIKELY(OB_SEARCH_NOT_FOUND == ret)) {
if (is_from_sys_table) {
LOG_INFO("new system variable is added , so can not found; don't worry", K(sys_var_name),
K(lower_idx), LITERAL_K(ObSysVarFactory::ALL_SYS_VARS_COUNT), K(lbt()));
} else {
LOG_WARN("sys var name not found", K(sys_var_name), K(lower_idx),
LITERAL_K(ObSysVarFactory::ALL_SYS_VARS_COUNT), K(lbt()));
}
}
return sys_var_id;
}
int ObSysVarFactory::calc_sys_var_store_idx(ObSysVarClassType sys_var_id, int64_t &store_idx)
{
int ret = OB_SUCCESS;
int64_t real_idx = -1;
int64_t var_id = static_cast<int64_t>(sys_var_id);
if (ObSysVarsToIdxMap::has_invalid_sys_var_id()) {
ret = OB_INVALID_ARGUMENT;
LOG_ERROR("has invalid sys var id", K(ret), K(ObSysVarsToIdxMap::has_invalid_sys_var_id()));
} else if (OB_UNLIKELY(var_id < 0)) {
ret = OB_INVALID_ARGUMENT;
LOG_ERROR("invalid sys var id", K(ret), K(var_id));
} else {
// 直接利用ObSysVarsIdToArrayIdx 索引数组查询到对应的store idx
real_idx = ObSysVarsToIdxMap::get_store_idx(var_id);
if (real_idx < 0) {
ret = OB_SYS_VARS_MAYBE_DIFF_VERSION;
LOG_WARN("invalid sys var id, maybe sys vars version is different", K(ret), K(var_id), K(real_idx),
LITERAL_K(ObSysVarFactory::OB_SPECIFIC_SYS_VAR_ID_OFFSET),
LITERAL_K(ObSysVarFactory::OB_SYS_VARS_COUNT));
}
}
if (OB_FAIL(ret)) {
} else {
store_idx = real_idx;
}
return ret;
}
int ObSysVarFactory::calc_sys_var_store_idx_by_name(const common::ObString &sys_var_name,
int64_t &store_idx)
{
int ret = OB_SUCCESS;
ObSysVarClassType sys_var_id = find_sys_var_id_by_name(sys_var_name);
if (OB_FAIL(calc_sys_var_store_idx(sys_var_id, store_idx))) {
LOG_WARN("fail to calc sys var store idx", K(ret), K(sys_var_name), K(lbt()));
}
return ret;
}
bool ObSysVarFactory::is_valid_sys_var_store_idx(int64_t store_idx)
{
return 0 <= store_idx && store_idx < ObSysVarFactory::ALL_SYS_VARS_COUNT;
}
int ObSysVarFactory::get_sys_var_name_by_id(ObSysVarClassType sys_var_id, ObString &sys_var_name)
{
int ret = OB_SUCCESS;
int64_t store_idx = -1;
if (OB_FAIL(calc_sys_var_store_idx(sys_var_id, store_idx))) {
LOG_WARN("fail to calc sys var store idx", K(ret), K(sys_var_id));
} else {
sys_var_name = ObString::make_string(ObSysVarFactory::SYS_VAR_NAMES_SORTED_BY_ID[store_idx]);
}
return ret;
}
const ObString ObSysVarFactory::get_sys_var_name_by_id(ObSysVarClassType sys_var_id)
{
ObString sys_var_name;
int ret = OB_SUCCESS;
if (OB_FAIL(get_sys_var_name_by_id(sys_var_id, sys_var_name))) {
sys_var_name = ObString::make_string("invalid_sys_var_name");
LOG_WARN("invalid sys var id", K(ret), K(sys_var_id));
}
return sys_var_name;
}
ObSysVarFactory::ObSysVarFactory()
: allocator_(ObModIds::OB_COMMON_SYS_VAR_FAC), all_sys_vars_created_(false)
{
MEMSET(store_, 0, sizeof(store_));
MEMSET(store_buf_, 0, sizeof(store_buf_));
}
ObSysVarFactory::~ObSysVarFactory()
{
destroy();
}
void ObSysVarFactory::destroy()
{
int ret = OB_SUCCESS;
for (int64_t i = 0; i < ALL_SYS_VARS_COUNT; ++i) {
if (OB_NOT_NULL(store_[i])) {
store_[i]->~ObBasicSysVar();
store_[i] = nullptr;
}
if (OB_NOT_NULL(store_buf_[i])) {
store_buf_[i]->~ObBasicSysVar();
store_buf_[i] = nullptr;
}
}
allocator_.reset();
all_sys_vars_created_ = false;
}
int ObSysVarFactory::free_sys_var(ObBasicSysVar *sys_var, int64_t sys_var_idx)
{
int ret = OB_SUCCESS;
OV (OB_NOT_NULL(sys_var));
OV (is_valid_sys_var_store_idx(sys_var_idx));
OV (sys_var == store_[sys_var_idx], OB_ERR_UNEXPECTED, sys_var, sys_var_idx);
if (OB_NOT_NULL(store_buf_[sys_var_idx])) {
OX (store_buf_[sys_var_idx]->~ObBasicSysVar());
OX (allocator_.free(store_buf_[sys_var_idx]));
OX (store_buf_[sys_var_idx] = nullptr);
}
OX (store_buf_[sys_var_idx] = store_[sys_var_idx]);
OX (store_buf_[sys_var_idx]->clean_value());
OX (store_[sys_var_idx] = nullptr);
return ret;
}
int ObSysVarFactory::create_all_sys_vars()
{
int ret = OB_SUCCESS;
if (!all_sys_vars_created_) {
int64_t store_idx = -1;
ObBasicSysVar *sys_var_ptr = NULL;
int64_t total_mem_size = 0
"""
)
for
(
name
,
attributes
)
in
list_sorted_by_id
:
name_segs
=
name
.
split
(
"_"
)
sys_var_cls_name
=
"ObSysVar"
for
name_seg
in
name_segs
:
sys_var_cls_name
+=
name_seg
.
capitalize
()
wfile
.
write
(
" + sizeof("
+
sys_var_cls_name
+
")
\n
"
)
wfile
.
write
(
" ;
\n
"
)
wfile
.
write
(
" void *ptr = NULL;
\n
"
)
wfile
.
write
(
" if (OB_ISNULL(ptr = allocator_.alloc(total_mem_size))) {
\n
"
)
wfile
.
write
(
" ret = OB_ALLOCATE_MEMORY_FAILED;
\n
"
)
wfile
.
write
(
" LOG_ERROR(
\"
fail to alloc memory
\"
, K(ret));
\n
"
)
wfile
.
write
(
" } else {
\n
"
)
wfile
.
write
(
" all_sys_vars_created_ = true;
\n
"
)
wfile
.
write
(
" }
\n
"
)
for
(
name
,
attributes
)
in
list_sorted_by_id
:
name_segs
=
name
.
split
(
"_"
)
sys_var_cls_name
=
"ObSysVar"
for
name_seg
in
name_segs
:
sys_var_cls_name
+=
name_seg
.
capitalize
()
wfile
.
write
(
" if (OB_SUCC(ret)) {
\n
"
)
wfile
.
write
(
" if (OB_ISNULL(sys_var_ptr = new (ptr)"
+
sys_var_cls_name
+
"())) {
\n
"
)
wfile
.
write
(
" ret = OB_ALLOCATE_MEMORY_FAILED;
\n
"
)
wfile
.
write
(
" LOG_ERROR(
\"
fail to new "
+
sys_var_cls_name
+
"
\"
, K(ret));
\n
"
)
wfile
.
write
(
" } else {
\n
"
)
wfile
.
write
(
" store_buf_[ObSysVarsToIdxMap::get_store_idx(static_cast<int64_t>(SYS_VAR_"
+
name
.
upper
()
+
"))] = sys_var_ptr;
\n
"
)
wfile
.
write
(
" ptr = (void *)((char *)ptr + sizeof("
+
sys_var_cls_name
+
"));
\n
"
)
wfile
.
write
(
" }
\n
"
)
wfile
.
write
(
" }
\n
"
)
wfile
.
write
(
"""
}
return ret;
}
int ObSysVarFactory::create_sys_var(ObSysVarClassType sys_var_id, ObBasicSysVar *&sys_var)
{
int ret = OB_SUCCESS;
int64_t store_idx = -1;
ObBasicSysVar *sys_var_ptr = NULL;
if (OB_FAIL(calc_sys_var_store_idx(sys_var_id, store_idx))) {
LOG_WARN("fail to calc sys var store idx", K(ret), K(sys_var_id));
} else if (store_idx < 0 || store_idx >= ALL_SYS_VARS_COUNT) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("unexpected store idx", K(ret), K(store_idx), K(sys_var_id));
} else if (OB_NOT_NULL(store_[store_idx])) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("store ptr shoule be null", K(ret), K(store_idx), K(sys_var_id));
} else {
if (OB_NOT_NULL(store_buf_[store_idx])) {
sys_var_ptr = store_buf_[store_idx];
store_buf_[store_idx] = nullptr;
}
}
if (OB_ISNULL(sys_var_ptr)) {
switch(sys_var_id) {
"""
)
for
(
name
,
attributes
)
in
list_sorted_by_id
:
name_segs
=
name
.
split
(
"_"
)
sys_var_cls_name
=
"ObSysVar"
for
name_seg
in
name_segs
:
sys_var_cls_name
+=
name_seg
.
capitalize
()
wfile
.
write
(
" case SYS_VAR_"
+
str
(
name
).
upper
()
+
": {
\n
"
)
wfile
.
write
(
" void *ptr = NULL;
\n
"
)
wfile
.
write
(
" if (OB_ISNULL(ptr = allocator_.alloc(sizeof("
+
sys_var_cls_name
+
")))) {
\n
"
)
wfile
.
write
(
" ret = OB_ALLOCATE_MEMORY_FAILED;
\n
"
)
wfile
.
write
(
" LOG_ERROR(
\"
fail to alloc memory
\"
, K(ret), K(sizeof("
+
sys_var_cls_name
+
")));
\n
"
)
wfile
.
write
(
" } else if (OB_ISNULL(sys_var_ptr = new (ptr)"
+
sys_var_cls_name
+
"())) {
\n
"
)
wfile
.
write
(
" ret = OB_ALLOCATE_MEMORY_FAILED;
\n
"
)
wfile
.
write
(
" LOG_ERROR(
\"
fail to new "
+
sys_var_cls_name
+
"
\"
, K(ret));
\n
"
)
wfile
.
write
(
" }
\n
"
)
wfile
.
write
(
" break;
\n
"
)
wfile
.
write
(
" }
\n
"
)
wfile
.
write
(
"""
default: {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("invalid system variable id", K(ret), K(sys_var_id));
break;
}
}
}
if (OB_SUCC(ret)) {
if (OB_ISNULL(sys_var_ptr)) {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("ret is OB_SUCCESS, but sys_var_ptr is NULL", K(ret), K(sys_var_id));
} else if (OB_NOT_NULL(store_[store_idx])) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("store_[store_idx] should be NULL", K(ret), K(sys_var_id));
} else {
store_[store_idx] = sys_var_ptr;
sys_var = sys_var_ptr;
}
}
if (OB_FAIL(ret) && sys_var_ptr != nullptr) {
sys_var_ptr->~ObBasicSysVar();
sys_var_ptr = NULL;
}
return ret;
}
"""
)
wfile
.
write
(
"""
}
}
"""
)
print
(
"Generate "
+
str
(
filename
)
+
" successfully!
\n
"
)
def
calc_flags_from_str
(
flags_str
):
result
=
0
flags
=
flags_str
.
split
(
"|"
)
flags_len
=
len
(
flags
)
for
i
in
range
(
0
,
flags_len
):
result
=
(
result
|
flag_value_dict
[
flags
[
i
].
strip
().
upper
()])
return
result
def
gen_sys_vars_dict_script_for_upgrade
(
filename
,
list_sorted_by_id
):
os
.
chmod
(
filename
,
stat
.
S_IRUSR
+
stat
.
S_IWUSR
+
stat
.
S_IRGRP
+
stat
.
S_IROTH
)
wfile
=
open
(
filename
,
'w'
)
annotation_is_written
=
False
wfile
.
write
(
'#!/usr/bin/env python
\n
'
)
wfile
.
write
(
'# -*- coding: utf-8 -*-
\n
'
)
wfile
.
write
(
'
\n
'
)
wfile
.
write
(
"# sys_vars_dict.py是由gen_ob_sys_variables.py根据ob_system_variable_init.json和upgrade_sys_var_base_script.py文件生成的,不可修改
\n
"
)
wfile
.
write
(
'sys_var_dict = {}
\n
'
)
for
(
name
,
attributes
)
in
list_sorted_by_id
:
wfile
.
write
(
"sys_var_dict[
\"
"
+
name
+
"
\"
] = {
\"
id
\"
: "
+
str
(
attributes
[
"id"
])
+
",
\"
name
\"
:
\"
"
+
attributes
[
"name"
]
+
"
\"
,
\"
value
\"
:
\"
"
+
attributes
[
"value"
]
+
"
\"
,
\"
data_type
\"
: "
+
str
(
type_value_dict
[
attributes
[
"data_type"
]])
+
",
\"
info
\"
:
\"
"
+
attributes
[
"info"
]
+
"
\"
,
\"
flags
\"
: "
+
str
(
calc_flags_from_str
(
attributes
[
"flags"
]))
+
((
",
\"
min_val
\"
:
\"
"
+
attributes
[
"min_val"
]
+
"
\"
"
)
if
"min_val"
in
attributes
.
keys
()
else
""
)
+
((
",
\"
max_val
\"
:
\"
"
+
attributes
[
"max_val"
]
+
"
\"
"
)
if
"max_val"
in
attributes
.
keys
()
else
""
)
+
"}
\n
"
)
wfile
.
close
()
os
.
chmod
(
filename
,
stat
.
S_IRUSR
+
stat
.
S_IRGRP
+
stat
.
S_IROTH
)
print
(
"Generate "
+
str
(
filename
)
+
" successfully!
\n
"
)
def
gen_upgrade_script
():
print
(
'
\n
=========run gen_upgrade_scripts.py, begin=========
\n
'
)
info
=
os
.
popen
(
'cd ../../../tools/upgrade/; ./gen_upgrade_scripts.py;'
)
print
(
info
.
read
())
print
(
'
\n
=========run gen_upgrade_scripts.py, end=========
\n
'
)
pdir
=
"share/system_variable"
json_file_name
=
"ob_system_variable_init.json"
head_file_name
=
"ob_system_variable_init.h"
cpp_file_name
=
"ob_system_variable_init.cpp"
alias_file_name
=
"ob_system_variable_alias.h"
sys_var_class_type_head_file_name
=
"ob_sys_var_class_type.h"
sys_var_fac_head_file_name
=
"ob_system_variable_factory.h"
sys_var_fac_cpp_file_name
=
"ob_system_variable_factory.cpp"
sys_vars_dict_script_file_name
=
"../../../tools/upgrade/sys_vars_dict.py"
(
json_Dict
,
list_sorted_by_name
,
list_sorted_by_id
)
=
parse_json
(
json_file_name
)
make_head_file
(
pdir
,
head_file_name
,
list_sorted_by_id
)
make_cpp_file
(
pdir
,
cpp_file_name
,
list_sorted_by_id
)
make_alias_file
(
pdir
,
alias_file_name
,
list_sorted_by_id
)
make_sys_var_class_type_h
(
pdir
,
sys_var_class_type_head_file_name
,
list_sorted_by_id
)
make_sys_var_h
(
pdir
,
sys_var_fac_head_file_name
,
list_sorted_by_id
)
make_sys_var_cpp
(
pdir
,
sys_var_fac_cpp_file_name
,
list_sorted_by_name
,
list_sorted_by_id
)
gen_sys_vars_dict_script_for_upgrade
(
sys_vars_dict_script_file_name
,
list_sorted_by_id
)
gen_upgrade_script
()
src/share/system_variable/ob_sys_var_class_type.h
浏览文件 @
fa8b8384
...
@@ -14,9 +14,12 @@
...
@@ -14,9 +14,12 @@
#define OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYS_VAR_CLASS_TYPE_
#define OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYS_VAR_CLASS_TYPE_
#include <stdint.h>
#include <stdint.h>
namespace
oceanbase
{
namespace
oceanbase
namespace
share
{
{
enum
ObSysVarClassType
{
namespace
share
{
enum
ObSysVarClassType
{
SYS_VAR_INVALID
=
-
1
,
SYS_VAR_INVALID
=
-
1
,
SYS_VAR_AUTO_INCREMENT_INCREMENT
=
0
,
SYS_VAR_AUTO_INCREMENT_INCREMENT
=
0
,
SYS_VAR_AUTO_INCREMENT_OFFSET
=
1
,
SYS_VAR_AUTO_INCREMENT_OFFSET
=
1
,
...
@@ -99,6 +102,9 @@ enum ObSysVarClassType {
...
@@ -99,6 +102,9 @@ enum ObSysVarClassType {
SYS_VAR_VERSION_COMPILE_MACHINE
=
78
,
SYS_VAR_VERSION_COMPILE_MACHINE
=
78
,
SYS_VAR_VERSION_COMPILE_OS
=
79
,
SYS_VAR_VERSION_COMPILE_OS
=
79
,
SYS_VAR_WARNING_COUNT
=
80
,
SYS_VAR_WARNING_COUNT
=
80
,
SYS_VAR_SESSION_TRACK_SCHEMA
=
81
,
SYS_VAR_SESSION_TRACK_SYSTEM_VARIABLES
=
82
,
SYS_VAR_SESSION_TRACK_STATE_CHANGE
=
83
,
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
,
...
@@ -216,5 +222,5 @@ enum ObSysVarClassType {
...
@@ -216,5 +222,5 @@ enum ObSysVarClassType {
};
};
}
}
}
// namespace oceanbase
}
#endif // OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYS_VAR_CLASS_TYPE_
#endif //OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYS_VAR_CLASS_TYPE_
\ No newline at end of file
src/share/system_variable/ob_system_variable_alias.h
浏览文件 @
fa8b8384
...
@@ -10,206 +10,217 @@
...
@@ -10,206 +10,217 @@
* See the Mulan PubL v2 for more details.
* See the Mulan PubL v2 for more details.
*/
*/
/* 此处定义所有系统变量的名字。初始化@see ob_ddl_operation.cpp和ob_basic_session_info.cpp
* @note: 所有OB特有的非mysql的系统变量,都以ob_开头,以区别于mysql系统变量的名字空间。
* 反之,所有不以ob_开头的系统变量都必须和mysql语义完全兼容。 */
#ifndef OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_ALIAS_
#ifndef OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_ALIAS_
#define OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_ALIAS_
#define OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_ALIAS_
namespace
oceanbase
{
namespace
oceanbase
namespace
share
{
{
static
const
char
*
const
OB_SV_AUTO_INCREMENT_INCREMENT
=
"auto_increment_increment"
;
namespace
share
static
const
char
*
const
OB_SV_AUTO_INCREMENT_OFFSET
=
"auto_increment_offset"
;
{
static
const
char
*
const
OB_SV_AUTOCOMMIT
=
"autocommit"
;
static
const
char
*
const
OB_SV_AUTO_INCREMENT_INCREMENT
=
"auto_increment_increment"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_CLIENT
=
"character_set_client"
;
static
const
char
*
const
OB_SV_AUTO_INCREMENT_OFFSET
=
"auto_increment_offset"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_CONNECTION
=
"character_set_connection"
;
static
const
char
*
const
OB_SV_AUTOCOMMIT
=
"autocommit"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_DATABASE
=
"character_set_database"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_CLIENT
=
"character_set_client"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_RESULTS
=
"character_set_results"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_CONNECTION
=
"character_set_connection"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_SERVER
=
"character_set_server"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_DATABASE
=
"character_set_database"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_SYSTEM
=
"character_set_system"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_RESULTS
=
"character_set_results"
;
static
const
char
*
const
OB_SV_COLLATION_CONNECTION
=
"collation_connection"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_SERVER
=
"character_set_server"
;
static
const
char
*
const
OB_SV_COLLATION_DATABASE
=
"collation_database"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_SYSTEM
=
"character_set_system"
;
static
const
char
*
const
OB_SV_COLLATION_SERVER
=
"collation_server"
;
static
const
char
*
const
OB_SV_COLLATION_CONNECTION
=
"collation_connection"
;
static
const
char
*
const
OB_SV_INTERACTIVE_TIMEOUT
=
"interactive_timeout"
;
static
const
char
*
const
OB_SV_COLLATION_DATABASE
=
"collation_database"
;
static
const
char
*
const
OB_SV_LAST_INSERT_ID
=
"last_insert_id"
;
static
const
char
*
const
OB_SV_COLLATION_SERVER
=
"collation_server"
;
static
const
char
*
const
OB_SV_MAX_ALLOWED_PACKET
=
"max_allowed_packet"
;
static
const
char
*
const
OB_SV_INTERACTIVE_TIMEOUT
=
"interactive_timeout"
;
static
const
char
*
const
OB_SV_SQL_MODE
=
"sql_mode"
;
static
const
char
*
const
OB_SV_LAST_INSERT_ID
=
"last_insert_id"
;
static
const
char
*
const
OB_SV_TIME_ZONE
=
"time_zone"
;
static
const
char
*
const
OB_SV_MAX_ALLOWED_PACKET
=
"max_allowed_packet"
;
static
const
char
*
const
OB_SV_TX_ISOLATION
=
"tx_isolation"
;
static
const
char
*
const
OB_SV_SQL_MODE
=
"sql_mode"
;
static
const
char
*
const
OB_SV_VERSION_COMMENT
=
"version_comment"
;
static
const
char
*
const
OB_SV_TIME_ZONE
=
"time_zone"
;
static
const
char
*
const
OB_SV_WAIT_TIMEOUT
=
"wait_timeout"
;
static
const
char
*
const
OB_SV_TX_ISOLATION
=
"tx_isolation"
;
static
const
char
*
const
OB_SV_BINLOG_ROW_IMAGE
=
"binlog_row_image"
;
static
const
char
*
const
OB_SV_VERSION_COMMENT
=
"version_comment"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_FILESYSTEM
=
"character_set_filesystem"
;
static
const
char
*
const
OB_SV_WAIT_TIMEOUT
=
"wait_timeout"
;
static
const
char
*
const
OB_SV_CONNECT_TIMEOUT
=
"connect_timeout"
;
static
const
char
*
const
OB_SV_BINLOG_ROW_IMAGE
=
"binlog_row_image"
;
static
const
char
*
const
OB_SV_DATADIR
=
"datadir"
;
static
const
char
*
const
OB_SV_CHARACTER_SET_FILESYSTEM
=
"character_set_filesystem"
;
static
const
char
*
const
OB_SV_DEBUG_SYNC
=
"debug_sync"
;
static
const
char
*
const
OB_SV_CONNECT_TIMEOUT
=
"connect_timeout"
;
static
const
char
*
const
OB_SV_DIV_PRECISION_INCREMENT
=
"div_precision_increment"
;
static
const
char
*
const
OB_SV_DATADIR
=
"datadir"
;
static
const
char
*
const
OB_SV_EXPLICIT_DEFAULTS_FOR_TIMESTAMP
=
"explicit_defaults_for_timestamp"
;
static
const
char
*
const
OB_SV_DEBUG_SYNC
=
"debug_sync"
;
static
const
char
*
const
OB_SV_GROUP_CONCAT_MAX_LEN
=
"group_concat_max_len"
;
static
const
char
*
const
OB_SV_DIV_PRECISION_INCREMENT
=
"div_precision_increment"
;
static
const
char
*
const
OB_SV_IDENTITY
=
"identity"
;
static
const
char
*
const
OB_SV_EXPLICIT_DEFAULTS_FOR_TIMESTAMP
=
"explicit_defaults_for_timestamp"
;
static
const
char
*
const
OB_SV_LOWER_CASE_TABLE_NAMES
=
"lower_case_table_names"
;
static
const
char
*
const
OB_SV_GROUP_CONCAT_MAX_LEN
=
"group_concat_max_len"
;
static
const
char
*
const
OB_SV_NET_READ_TIMEOUT
=
"net_read_timeout"
;
static
const
char
*
const
OB_SV_IDENTITY
=
"identity"
;
static
const
char
*
const
OB_SV_NET_WRITE_TIMEOUT
=
"net_write_timeout"
;
static
const
char
*
const
OB_SV_LOWER_CASE_TABLE_NAMES
=
"lower_case_table_names"
;
static
const
char
*
const
OB_SV_READ_ONLY
=
"read_only"
;
static
const
char
*
const
OB_SV_NET_READ_TIMEOUT
=
"net_read_timeout"
;
static
const
char
*
const
OB_SV_SQL_AUTO_IS_NULL
=
"sql_auto_is_null"
;
static
const
char
*
const
OB_SV_NET_WRITE_TIMEOUT
=
"net_write_timeout"
;
static
const
char
*
const
OB_SV_SQL_SELECT_LIMIT
=
"sql_select_limit"
;
static
const
char
*
const
OB_SV_READ_ONLY
=
"read_only"
;
static
const
char
*
const
OB_SV_TIMESTAMP
=
"timestamp"
;
static
const
char
*
const
OB_SV_SQL_AUTO_IS_NULL
=
"sql_auto_is_null"
;
static
const
char
*
const
OB_SV_TX_READ_ONLY
=
"tx_read_only"
;
static
const
char
*
const
OB_SV_SQL_SELECT_LIMIT
=
"sql_select_limit"
;
static
const
char
*
const
OB_SV_VERSION
=
"version"
;
static
const
char
*
const
OB_SV_TIMESTAMP
=
"timestamp"
;
static
const
char
*
const
OB_SV_SQL_WARNINGS
=
"sql_warnings"
;
static
const
char
*
const
OB_SV_TX_READ_ONLY
=
"tx_read_only"
;
static
const
char
*
const
OB_SV_MAX_USER_CONNECTIONS
=
"max_user_connections"
;
static
const
char
*
const
OB_SV_VERSION
=
"version"
;
static
const
char
*
const
OB_SV_INIT_CONNECT
=
"init_connect"
;
static
const
char
*
const
OB_SV_SQL_WARNINGS
=
"sql_warnings"
;
static
const
char
*
const
OB_SV_LICENSE
=
"license"
;
static
const
char
*
const
OB_SV_MAX_USER_CONNECTIONS
=
"max_user_connections"
;
static
const
char
*
const
OB_SV_NET_BUFFER_LENGTH
=
"net_buffer_length"
;
static
const
char
*
const
OB_SV_INIT_CONNECT
=
"init_connect"
;
static
const
char
*
const
OB_SV_SYSTEM_TIME_ZONE
=
"system_time_zone"
;
static
const
char
*
const
OB_SV_LICENSE
=
"license"
;
static
const
char
*
const
OB_SV_QUERY_CACHE_SIZE
=
"query_cache_size"
;
static
const
char
*
const
OB_SV_NET_BUFFER_LENGTH
=
"net_buffer_length"
;
static
const
char
*
const
OB_SV_QUERY_CACHE_TYPE
=
"query_cache_type"
;
static
const
char
*
const
OB_SV_SYSTEM_TIME_ZONE
=
"system_time_zone"
;
static
const
char
*
const
OB_SV_SQL_QUOTE_SHOW_CREATE
=
"sql_quote_show_create"
;
static
const
char
*
const
OB_SV_QUERY_CACHE_SIZE
=
"query_cache_size"
;
static
const
char
*
const
OB_SV_MAX_SP_RECURSION_DEPTH
=
"max_sp_recursion_depth"
;
static
const
char
*
const
OB_SV_QUERY_CACHE_TYPE
=
"query_cache_type"
;
static
const
char
*
const
OB_SV_SQL_SAFE_UPDATES
=
"sql_safe_updates"
;
static
const
char
*
const
OB_SV_SQL_QUOTE_SHOW_CREATE
=
"sql_quote_show_create"
;
static
const
char
*
const
OB_SV_CONCURRENT_INSERT
=
"concurrent_insert"
;
static
const
char
*
const
OB_SV_MAX_SP_RECURSION_DEPTH
=
"max_sp_recursion_depth"
;
static
const
char
*
const
OB_SV_DEFAULT_AUTHENTICATION_PLUGIN
=
"default_authentication_plugin"
;
static
const
char
*
const
OB_SV_SQL_SAFE_UPDATES
=
"sql_safe_updates"
;
static
const
char
*
const
OB_SV_DISABLED_STORAGE_ENGINES
=
"disabled_storage_engines"
;
static
const
char
*
const
OB_SV_CONCURRENT_INSERT
=
"concurrent_insert"
;
static
const
char
*
const
OB_SV_ERROR_COUNT
=
"error_count"
;
static
const
char
*
const
OB_SV_DEFAULT_AUTHENTICATION_PLUGIN
=
"default_authentication_plugin"
;
static
const
char
*
const
OB_SV_GENERAL_LOG
=
"general_log"
;
static
const
char
*
const
OB_SV_DISABLED_STORAGE_ENGINES
=
"disabled_storage_engines"
;
static
const
char
*
const
OB_SV_HAVE_OPENSSL
=
"have_openssl"
;
static
const
char
*
const
OB_SV_ERROR_COUNT
=
"error_count"
;
static
const
char
*
const
OB_SV_HAVE_PROFILING
=
"have_profiling"
;
static
const
char
*
const
OB_SV_GENERAL_LOG
=
"general_log"
;
static
const
char
*
const
OB_SV_HAVE_SSL
=
"have_ssl"
;
static
const
char
*
const
OB_SV_HAVE_OPENSSL
=
"have_openssl"
;
static
const
char
*
const
OB_SV_HOSTNAME
=
"hostname"
;
static
const
char
*
const
OB_SV_HAVE_PROFILING
=
"have_profiling"
;
static
const
char
*
const
OB_SV_LC_MESSAGES
=
"lc_messages"
;
static
const
char
*
const
OB_SV_HAVE_SSL
=
"have_ssl"
;
static
const
char
*
const
OB_SV_LOCAL_INFILE
=
"local_infile"
;
static
const
char
*
const
OB_SV_HOSTNAME
=
"hostname"
;
static
const
char
*
const
OB_SV_LOCK_WAIT_TIMEOUT
=
"lock_wait_timeout"
;
static
const
char
*
const
OB_SV_LC_MESSAGES
=
"lc_messages"
;
static
const
char
*
const
OB_SV_LONG_QUERY_TIME
=
"long_query_time"
;
static
const
char
*
const
OB_SV_LOCAL_INFILE
=
"local_infile"
;
static
const
char
*
const
OB_SV_MAX_CONNECTIONS
=
"max_connections"
;
static
const
char
*
const
OB_SV_LOCK_WAIT_TIMEOUT
=
"lock_wait_timeout"
;
static
const
char
*
const
OB_SV_MAX_EXECUTION_TIME
=
"max_execution_time"
;
static
const
char
*
const
OB_SV_LONG_QUERY_TIME
=
"long_query_time"
;
static
const
char
*
const
OB_SV_PROTOCOL_VERSION
=
"protocol_version"
;
static
const
char
*
const
OB_SV_MAX_CONNECTIONS
=
"max_connections"
;
static
const
char
*
const
OB_SV_SERVER_ID
=
"server_id"
;
static
const
char
*
const
OB_SV_MAX_EXECUTION_TIME
=
"max_execution_time"
;
static
const
char
*
const
OB_SV_SSL_CA
=
"ssl_ca"
;
static
const
char
*
const
OB_SV_PROTOCOL_VERSION
=
"protocol_version"
;
static
const
char
*
const
OB_SV_SSL_CAPATH
=
"ssl_capath"
;
static
const
char
*
const
OB_SV_SERVER_ID
=
"server_id"
;
static
const
char
*
const
OB_SV_SSL_CERT
=
"ssl_cert"
;
static
const
char
*
const
OB_SV_SSL_CA
=
"ssl_ca"
;
static
const
char
*
const
OB_SV_SSL_CIPHER
=
"ssl_cipher"
;
static
const
char
*
const
OB_SV_SSL_CAPATH
=
"ssl_capath"
;
static
const
char
*
const
OB_SV_SSL_CRL
=
"ssl_crl"
;
static
const
char
*
const
OB_SV_SSL_CERT
=
"ssl_cert"
;
static
const
char
*
const
OB_SV_SSL_CRLPATH
=
"ssl_crlpath"
;
static
const
char
*
const
OB_SV_SSL_CIPHER
=
"ssl_cipher"
;
static
const
char
*
const
OB_SV_SSL_KEY
=
"ssl_key"
;
static
const
char
*
const
OB_SV_SSL_CRL
=
"ssl_crl"
;
static
const
char
*
const
OB_SV_TIME_FORMAT
=
"time_format"
;
static
const
char
*
const
OB_SV_SSL_CRLPATH
=
"ssl_crlpath"
;
static
const
char
*
const
OB_SV_TLS_VERSION
=
"tls_version"
;
static
const
char
*
const
OB_SV_SSL_KEY
=
"ssl_key"
;
static
const
char
*
const
OB_SV_TMP_TABLE_SIZE
=
"tmp_table_size"
;
static
const
char
*
const
OB_SV_TIME_FORMAT
=
"time_format"
;
static
const
char
*
const
OB_SV_TMPDIR
=
"tmpdir"
;
static
const
char
*
const
OB_SV_TLS_VERSION
=
"tls_version"
;
static
const
char
*
const
OB_SV_UNIQUE_CHECKS
=
"unique_checks"
;
static
const
char
*
const
OB_SV_TMP_TABLE_SIZE
=
"tmp_table_size"
;
static
const
char
*
const
OB_SV_VERSION_COMPILE_MACHINE
=
"version_compile_machine"
;
static
const
char
*
const
OB_SV_TMPDIR
=
"tmpdir"
;
static
const
char
*
const
OB_SV_VERSION_COMPILE_OS
=
"version_compile_os"
;
static
const
char
*
const
OB_SV_UNIQUE_CHECKS
=
"unique_checks"
;
static
const
char
*
const
OB_SV_WARNING_COUNT
=
"warning_count"
;
static
const
char
*
const
OB_SV_VERSION_COMPILE_MACHINE
=
"version_compile_machine"
;
static
const
char
*
const
OB_SV_DEFAULT_REPLICA_NUM
=
"ob_default_replica_num"
;
static
const
char
*
const
OB_SV_VERSION_COMPILE_OS
=
"version_compile_os"
;
static
const
char
*
const
OB_SV_INTERM_RESULT_MEM_LIMIT
=
"ob_interm_result_mem_limit"
;
static
const
char
*
const
OB_SV_WARNING_COUNT
=
"warning_count"
;
static
const
char
*
const
OB_SV_PROXY_PARTITION_HIT
=
"ob_proxy_partition_hit"
;
static
const
char
*
const
OB_SV_SESSION_TRACK_SCHEMA
=
"session_track_schema"
;
static
const
char
*
const
OB_SV_LOG_LEVEL
=
"ob_log_level"
;
static
const
char
*
const
OB_SV_SESSION_TRACK_SYSTEM_VARIABLES
=
"session_track_system_variables"
;
static
const
char
*
const
OB_SV_MAX_PARALLEL_DEGREE
=
"ob_max_parallel_degree"
;
static
const
char
*
const
OB_SV_SESSION_TRACK_STATE_CHANGE
=
"session_track_state_change"
;
static
const
char
*
const
OB_SV_QUERY_TIMEOUT
=
"ob_query_timeout"
;
static
const
char
*
const
OB_SV_DEFAULT_REPLICA_NUM
=
"ob_default_replica_num"
;
static
const
char
*
const
OB_SV_READ_CONSISTENCY
=
"ob_read_consistency"
;
static
const
char
*
const
OB_SV_INTERM_RESULT_MEM_LIMIT
=
"ob_interm_result_mem_limit"
;
static
const
char
*
const
OB_SV_ENABLE_TRANSFORMATION
=
"ob_enable_transformation"
;
static
const
char
*
const
OB_SV_PROXY_PARTITION_HIT
=
"ob_proxy_partition_hit"
;
static
const
char
*
const
OB_SV_TRX_TIMEOUT
=
"ob_trx_timeout"
;
static
const
char
*
const
OB_SV_LOG_LEVEL
=
"ob_log_level"
;
static
const
char
*
const
OB_SV_ENABLE_PLAN_CACHE
=
"ob_enable_plan_cache"
;
static
const
char
*
const
OB_SV_MAX_PARALLEL_DEGREE
=
"ob_max_parallel_degree"
;
static
const
char
*
const
OB_SV_ENABLE_INDEX_DIRECT_SELECT
=
"ob_enable_index_direct_select"
;
static
const
char
*
const
OB_SV_QUERY_TIMEOUT
=
"ob_query_timeout"
;
static
const
char
*
const
OB_SV_PROXY_SET_TRX_EXECUTED
=
"ob_proxy_set_trx_executed"
;
static
const
char
*
const
OB_SV_READ_CONSISTENCY
=
"ob_read_consistency"
;
static
const
char
*
const
OB_SV_ENABLE_AGGREGATION_PUSHDOWN
=
"ob_enable_aggregation_pushdown"
;
static
const
char
*
const
OB_SV_ENABLE_TRANSFORMATION
=
"ob_enable_transformation"
;
static
const
char
*
const
OB_SV_LAST_SCHEMA_VERSION
=
"ob_last_schema_version"
;
static
const
char
*
const
OB_SV_TRX_TIMEOUT
=
"ob_trx_timeout"
;
static
const
char
*
const
OB_SV_GLOBAL_DEBUG_SYNC
=
"ob_global_debug_sync"
;
static
const
char
*
const
OB_SV_ENABLE_PLAN_CACHE
=
"ob_enable_plan_cache"
;
static
const
char
*
const
OB_SV_PROXY_GLOBAL_VARIABLES_VERSION
=
"ob_proxy_global_variables_version"
;
static
const
char
*
const
OB_SV_ENABLE_INDEX_DIRECT_SELECT
=
"ob_enable_index_direct_select"
;
static
const
char
*
const
OB_SV_ENABLE_TRACE_LOG
=
"ob_enable_trace_log"
;
static
const
char
*
const
OB_SV_PROXY_SET_TRX_EXECUTED
=
"ob_proxy_set_trx_executed"
;
static
const
char
*
const
OB_SV_ENABLE_HASH_GROUP_BY
=
"ob_enable_hash_group_by"
;
static
const
char
*
const
OB_SV_ENABLE_AGGREGATION_PUSHDOWN
=
"ob_enable_aggregation_pushdown"
;
static
const
char
*
const
OB_SV_ENABLE_BLK_NESTEDLOOP_JOIN
=
"ob_enable_blk_nestedloop_join"
;
static
const
char
*
const
OB_SV_LAST_SCHEMA_VERSION
=
"ob_last_schema_version"
;
static
const
char
*
const
OB_SV_BNL_JOIN_CACHE_SIZE
=
"ob_bnl_join_cache_size"
;
static
const
char
*
const
OB_SV_GLOBAL_DEBUG_SYNC
=
"ob_global_debug_sync"
;
static
const
char
*
const
OB_SV_PROXY_USER_PRIVILEGE
=
"ob_proxy_user_privilege"
;
static
const
char
*
const
OB_SV_PROXY_GLOBAL_VARIABLES_VERSION
=
"ob_proxy_global_variables_version"
;
static
const
char
*
const
OB_SV_ORG_CLUSTER_ID
=
"ob_org_cluster_id"
;
static
const
char
*
const
OB_SV_ENABLE_TRACE_LOG
=
"ob_enable_trace_log"
;
static
const
char
*
const
OB_SV_PLAN_CACHE_PERCENTAGE
=
"ob_plan_cache_percentage"
;
static
const
char
*
const
OB_SV_ENABLE_HASH_GROUP_BY
=
"ob_enable_hash_group_by"
;
static
const
char
*
const
OB_SV_PLAN_CACHE_EVICT_HIGH_PERCENTAGE
=
"ob_plan_cache_evict_high_percentage"
;
static
const
char
*
const
OB_SV_ENABLE_BLK_NESTEDLOOP_JOIN
=
"ob_enable_blk_nestedloop_join"
;
static
const
char
*
const
OB_SV_PLAN_CACHE_EVICT_LOW_PERCENTAGE
=
"ob_plan_cache_evict_low_percentage"
;
static
const
char
*
const
OB_SV_BNL_JOIN_CACHE_SIZE
=
"ob_bnl_join_cache_size"
;
static
const
char
*
const
OB_SV_RECYCLEBIN
=
"recyclebin"
;
static
const
char
*
const
OB_SV_PROXY_USER_PRIVILEGE
=
"ob_proxy_user_privilege"
;
static
const
char
*
const
OB_SV_CAPABILITY_FLAG
=
"ob_capability_flag"
;
static
const
char
*
const
OB_SV_ORG_CLUSTER_ID
=
"ob_org_cluster_id"
;
static
const
char
*
const
OB_SV_STMT_PARALLEL_DEGREE
=
"ob_stmt_parallel_degree"
;
static
const
char
*
const
OB_SV_PLAN_CACHE_PERCENTAGE
=
"ob_plan_cache_percentage"
;
static
const
char
*
const
OB_SV_IS_RESULT_ACCURATE
=
"is_result_accurate"
;
static
const
char
*
const
OB_SV_PLAN_CACHE_EVICT_HIGH_PERCENTAGE
=
"ob_plan_cache_evict_high_percentage"
;
static
const
char
*
const
OB_SV_ERROR_ON_OVERLAP_TIME
=
"error_on_overlap_time"
;
static
const
char
*
const
OB_SV_PLAN_CACHE_EVICT_LOW_PERCENTAGE
=
"ob_plan_cache_evict_low_percentage"
;
static
const
char
*
const
OB_SV_COMPATIBILITY_MODE
=
"ob_compatibility_mode"
;
static
const
char
*
const
OB_SV_RECYCLEBIN
=
"recyclebin"
;
static
const
char
*
const
OB_SV_CREATE_TABLE_STRICT_MODE
=
"ob_create_table_strict_mode"
;
static
const
char
*
const
OB_SV_CAPABILITY_FLAG
=
"ob_capability_flag"
;
static
const
char
*
const
OB_SV_SQL_WORK_AREA_PERCENTAGE
=
"ob_sql_work_area_percentage"
;
static
const
char
*
const
OB_SV_STMT_PARALLEL_DEGREE
=
"ob_stmt_parallel_degree"
;
static
const
char
*
const
OB_SV_SAFE_WEAK_READ_SNAPSHOT
=
"ob_safe_weak_read_snapshot"
;
static
const
char
*
const
OB_SV_IS_RESULT_ACCURATE
=
"is_result_accurate"
;
static
const
char
*
const
OB_SV_ROUTE_POLICY
=
"ob_route_policy"
;
static
const
char
*
const
OB_SV_ERROR_ON_OVERLAP_TIME
=
"error_on_overlap_time"
;
static
const
char
*
const
OB_SV_ENABLE_TRANSMISSION_CHECKSUM
=
"ob_enable_transmission_checksum"
;
static
const
char
*
const
OB_SV_COMPATIBILITY_MODE
=
"ob_compatibility_mode"
;
static
const
char
*
const
OB_SV_FOREIGN_KEY_CHECKS
=
"foreign_key_checks"
;
static
const
char
*
const
OB_SV_CREATE_TABLE_STRICT_MODE
=
"ob_create_table_strict_mode"
;
static
const
char
*
const
OB_SV_STATEMENT_TRACE_ID
=
"ob_statement_trace_id"
;
static
const
char
*
const
OB_SV_SQL_WORK_AREA_PERCENTAGE
=
"ob_sql_work_area_percentage"
;
static
const
char
*
const
OB_SV_ENABLE_TRUNCATE_FLASHBACK
=
"ob_enable_truncate_flashback"
;
static
const
char
*
const
OB_SV_SAFE_WEAK_READ_SNAPSHOT
=
"ob_safe_weak_read_snapshot"
;
static
const
char
*
const
OB_SV_TCP_INVITED_NODES
=
"ob_tcp_invited_nodes"
;
static
const
char
*
const
OB_SV_ROUTE_POLICY
=
"ob_route_policy"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_CURRENT_PRIORITY
=
"sql_throttle_current_priority"
;
static
const
char
*
const
OB_SV_ENABLE_TRANSMISSION_CHECKSUM
=
"ob_enable_transmission_checksum"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_PRIORITY
=
"sql_throttle_priority"
;
static
const
char
*
const
OB_SV_FOREIGN_KEY_CHECKS
=
"foreign_key_checks"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_RT
=
"sql_throttle_rt"
;
static
const
char
*
const
OB_SV_STATEMENT_TRACE_ID
=
"ob_statement_trace_id"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_CPU
=
"sql_throttle_cpu"
;
static
const
char
*
const
OB_SV_ENABLE_TRUNCATE_FLASHBACK
=
"ob_enable_truncate_flashback"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_IO
=
"sql_throttle_io"
;
static
const
char
*
const
OB_SV_TCP_INVITED_NODES
=
"ob_tcp_invited_nodes"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_NETWORK
=
"sql_throttle_network"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_CURRENT_PRIORITY
=
"sql_throttle_current_priority"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_LOGICAL_READS
=
"sql_throttle_logical_reads"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_PRIORITY
=
"sql_throttle_priority"
;
static
const
char
*
const
OB_SV_AUTO_INCREMENT_CACHE_SIZE
=
"auto_increment_cache_size"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_RT
=
"sql_throttle_rt"
;
static
const
char
*
const
OB_SV_ENABLE_JIT
=
"ob_enable_jit"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_CPU
=
"sql_throttle_cpu"
;
static
const
char
*
const
OB_SV_TEMP_TABLESPACE_SIZE_PERCENTAGE
=
"ob_temp_tablespace_size_percentage"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_IO
=
"sql_throttle_io"
;
static
const
char
*
const
OB_SV__OPTIMIZER_ADAPTIVE_CURSOR_SHARING
=
"_optimizer_adaptive_cursor_sharing"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_NETWORK
=
"sql_throttle_network"
;
static
const
char
*
const
OB_SV_TIMESTAMP_SERVICE
=
"ob_timestamp_service"
;
static
const
char
*
const
OB_SV_SQL_THROTTLE_LOGICAL_READS
=
"sql_throttle_logical_reads"
;
static
const
char
*
const
OB_SV_PLUGIN_DIR
=
"plugin_dir"
;
static
const
char
*
const
OB_SV_AUTO_INCREMENT_CACHE_SIZE
=
"auto_increment_cache_size"
;
static
const
char
*
const
OB_SV_UNDO_RETENTION
=
"undo_retention"
;
static
const
char
*
const
OB_SV_ENABLE_JIT
=
"ob_enable_jit"
;
static
const
char
*
const
OB_SV__OB_USE_PARALLEL_EXECUTION
=
"_ob_use_parallel_execution"
;
static
const
char
*
const
OB_SV_TEMP_TABLESPACE_SIZE_PERCENTAGE
=
"ob_temp_tablespace_size_percentage"
;
static
const
char
*
const
OB_SV_SQL_AUDIT_PERCENTAGE
=
"ob_sql_audit_percentage"
;
static
const
char
*
const
OB_SV__OPTIMIZER_ADAPTIVE_CURSOR_SHARING
=
"_optimizer_adaptive_cursor_sharing"
;
static
const
char
*
const
OB_SV_ENABLE_SQL_AUDIT
=
"ob_enable_sql_audit"
;
static
const
char
*
const
OB_SV_TIMESTAMP_SERVICE
=
"ob_timestamp_service"
;
static
const
char
*
const
OB_SV_OPTIMIZER_USE_SQL_PLAN_BASELINES
=
"optimizer_use_sql_plan_baselines"
;
static
const
char
*
const
OB_SV_PLUGIN_DIR
=
"plugin_dir"
;
static
const
char
*
const
OB_SV_OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES
=
"optimizer_capture_sql_plan_baselines"
;
static
const
char
*
const
OB_SV_UNDO_RETENTION
=
"undo_retention"
;
static
const
char
*
const
OB_SV_PARALLEL_MAX_SERVERS
=
"parallel_max_servers"
;
static
const
char
*
const
OB_SV__OB_USE_PARALLEL_EXECUTION
=
"_ob_use_parallel_execution"
;
static
const
char
*
const
OB_SV_PARALLEL_SERVERS_TARGET
=
"parallel_servers_target"
;
static
const
char
*
const
OB_SV_SQL_AUDIT_PERCENTAGE
=
"ob_sql_audit_percentage"
;
static
const
char
*
const
OB_SV_EARLY_LOCK_RELEASE
=
"ob_early_lock_release"
;
static
const
char
*
const
OB_SV_ENABLE_SQL_AUDIT
=
"ob_enable_sql_audit"
;
static
const
char
*
const
OB_SV_TRX_IDLE_TIMEOUT
=
"ob_trx_idle_timeout"
;
static
const
char
*
const
OB_SV_OPTIMIZER_USE_SQL_PLAN_BASELINES
=
"optimizer_use_sql_plan_baselines"
;
static
const
char
*
const
OB_SV_BLOCK_ENCRYPTION_MODE
=
"block_encryption_mode"
;
static
const
char
*
const
OB_SV_OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES
=
"optimizer_capture_sql_plan_baselines"
;
static
const
char
*
const
OB_SV_NLS_DATE_FORMAT
=
"nls_date_format"
;
static
const
char
*
const
OB_SV_PARALLEL_MAX_SERVERS
=
"parallel_max_servers"
;
static
const
char
*
const
OB_SV_NLS_TIMESTAMP_FORMAT
=
"nls_timestamp_format"
;
static
const
char
*
const
OB_SV_PARALLEL_SERVERS_TARGET
=
"parallel_servers_target"
;
static
const
char
*
const
OB_SV_NLS_TIMESTAMP_TZ_FORMAT
=
"nls_timestamp_tz_format"
;
static
const
char
*
const
OB_SV_EARLY_LOCK_RELEASE
=
"ob_early_lock_release"
;
static
const
char
*
const
OB_SV_RESERVED_META_MEMORY_PERCENTAGE
=
"ob_reserved_meta_memory_percentage"
;
static
const
char
*
const
OB_SV_TRX_IDLE_TIMEOUT
=
"ob_trx_idle_timeout"
;
static
const
char
*
const
OB_SV_CHECK_SYS_VARIABLE
=
"ob_check_sys_variable"
;
static
const
char
*
const
OB_SV_BLOCK_ENCRYPTION_MODE
=
"block_encryption_mode"
;
static
const
char
*
const
OB_SV_NLS_LANGUAGE
=
"nls_language"
;
static
const
char
*
const
OB_SV_NLS_DATE_FORMAT
=
"nls_date_format"
;
static
const
char
*
const
OB_SV_NLS_TERRITORY
=
"nls_territory"
;
static
const
char
*
const
OB_SV_NLS_TIMESTAMP_FORMAT
=
"nls_timestamp_format"
;
static
const
char
*
const
OB_SV_NLS_SORT
=
"nls_sort"
;
static
const
char
*
const
OB_SV_NLS_TIMESTAMP_TZ_FORMAT
=
"nls_timestamp_tz_format"
;
static
const
char
*
const
OB_SV_NLS_COMP
=
"nls_comp"
;
static
const
char
*
const
OB_SV_RESERVED_META_MEMORY_PERCENTAGE
=
"ob_reserved_meta_memory_percentage"
;
static
const
char
*
const
OB_SV_NLS_CHARACTERSET
=
"nls_characterset"
;
static
const
char
*
const
OB_SV_CHECK_SYS_VARIABLE
=
"ob_check_sys_variable"
;
static
const
char
*
const
OB_SV_NLS_NCHAR_CHARACTERSET
=
"nls_nchar_characterset"
;
static
const
char
*
const
OB_SV_NLS_LANGUAGE
=
"nls_language"
;
static
const
char
*
const
OB_SV_NLS_DATE_LANGUAGE
=
"nls_date_language"
;
static
const
char
*
const
OB_SV_NLS_TERRITORY
=
"nls_territory"
;
static
const
char
*
const
OB_SV_NLS_LENGTH_SEMANTICS
=
"nls_length_semantics"
;
static
const
char
*
const
OB_SV_NLS_SORT
=
"nls_sort"
;
static
const
char
*
const
OB_SV_NLS_NCHAR_CONV_EXCP
=
"nls_nchar_conv_excp"
;
static
const
char
*
const
OB_SV_NLS_COMP
=
"nls_comp"
;
static
const
char
*
const
OB_SV_NLS_CALENDAR
=
"nls_calendar"
;
static
const
char
*
const
OB_SV_NLS_CHARACTERSET
=
"nls_characterset"
;
static
const
char
*
const
OB_SV_NLS_NUMERIC_CHARACTERS
=
"nls_numeric_characters"
;
static
const
char
*
const
OB_SV_NLS_NCHAR_CHARACTERSET
=
"nls_nchar_characterset"
;
static
const
char
*
const
OB_SV__NLJ_BATCHING_ENABLED
=
"_nlj_batching_enabled"
;
static
const
char
*
const
OB_SV_NLS_DATE_LANGUAGE
=
"nls_date_language"
;
static
const
char
*
const
OB_SV_TRACEFILE_IDENTIFIER
=
"tracefile_identifier"
;
static
const
char
*
const
OB_SV_NLS_LENGTH_SEMANTICS
=
"nls_length_semantics"
;
static
const
char
*
const
OB_SV__GROUPBY_NOPUSHDOWN_CUT_RATIO
=
"_groupby_nopushdown_cut_ratio"
;
static
const
char
*
const
OB_SV_NLS_NCHAR_CONV_EXCP
=
"nls_nchar_conv_excp"
;
static
const
char
*
const
OB_SV__PX_BROADCAST_FUDGE_FACTOR
=
"_px_broadcast_fudge_factor"
;
static
const
char
*
const
OB_SV_NLS_CALENDAR
=
"nls_calendar"
;
static
const
char
*
const
OB_SV__PRIMARY_ZONE_ENTITY_COUNT
=
"_primary_zone_entity_count"
;
static
const
char
*
const
OB_SV_NLS_NUMERIC_CHARACTERS
=
"nls_numeric_characters"
;
static
const
char
*
const
OB_SV_TRANSACTION_ISOLATION
=
"transaction_isolation"
;
static
const
char
*
const
OB_SV__NLJ_BATCHING_ENABLED
=
"_nlj_batching_enabled"
;
static
const
char
*
const
OB_SV_TRX_LOCK_TIMEOUT
=
"ob_trx_lock_timeout"
;
static
const
char
*
const
OB_SV_TRACEFILE_IDENTIFIER
=
"tracefile_identifier"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_CHECK_USER_NAME
=
"validate_password_check_user_name"
;
static
const
char
*
const
OB_SV__GROUPBY_NOPUSHDOWN_CUT_RATIO
=
"_groupby_nopushdown_cut_ratio"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_LENGTH
=
"validate_password_length"
;
static
const
char
*
const
OB_SV__PX_BROADCAST_FUDGE_FACTOR
=
"_px_broadcast_fudge_factor"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_MIXED_CASE_COUNT
=
"validate_password_mixed_case_count"
;
static
const
char
*
const
OB_SV__PRIMARY_ZONE_ENTITY_COUNT
=
"_primary_zone_entity_count"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_NUMBER_COUNT
=
"validate_password_number_count"
;
static
const
char
*
const
OB_SV_TRANSACTION_ISOLATION
=
"transaction_isolation"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_POLICY
=
"validate_password_policy"
;
static
const
char
*
const
OB_SV_TRX_LOCK_TIMEOUT
=
"ob_trx_lock_timeout"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_SPECIAL_CHAR_COUNT
=
"validate_password_special_char_count"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_CHECK_USER_NAME
=
"validate_password_check_user_name"
;
static
const
char
*
const
OB_SV_DEFAULT_PASSWORD_LIFETIME
=
"default_password_lifetime"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_LENGTH
=
"validate_password_length"
;
static
const
char
*
const
OB_SV_TRACE_INFO
=
"ob_trace_info"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_MIXED_CASE_COUNT
=
"validate_password_mixed_case_count"
;
static
const
char
*
const
OB_SV_ENABLE_BATCHED_MULTI_STATEMENT
=
"ob_enable_batched_multi_statement"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_NUMBER_COUNT
=
"validate_password_number_count"
;
static
const
char
*
const
OB_SV__PX_PARTITION_SCAN_THRESHOLD
=
"_px_partition_scan_threshold"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_POLICY
=
"validate_password_policy"
;
static
const
char
*
const
OB_SV__OB_PX_BCAST_OPTIMIZATION
=
"_ob_px_bcast_optimization"
;
static
const
char
*
const
OB_SV_VALIDATE_PASSWORD_SPECIAL_CHAR_COUNT
=
"validate_password_special_char_count"
;
static
const
char
*
const
OB_SV__OB_PX_SLAVE_MAPPING_THRESHOLD
=
"_ob_px_slave_mapping_threshold"
;
static
const
char
*
const
OB_SV_DEFAULT_PASSWORD_LIFETIME
=
"default_password_lifetime"
;
static
const
char
*
const
OB_SV__ENABLE_PARALLEL_DML
=
"_enable_parallel_dml"
;
static
const
char
*
const
OB_SV_TRACE_INFO
=
"ob_trace_info"
;
static
const
char
*
const
OB_SV__PX_MIN_GRANULES_PER_SLAVE
=
"_px_min_granules_per_slave"
;
static
const
char
*
const
OB_SV_ENABLE_BATCHED_MULTI_STATEMENT
=
"ob_enable_batched_multi_statement"
;
static
const
char
*
const
OB_SV_SECURE_FILE_PRIV
=
"secure_file_priv"
;
static
const
char
*
const
OB_SV__PX_PARTITION_SCAN_THRESHOLD
=
"_px_partition_scan_threshold"
;
static
const
char
*
const
OB_SV_PLSQL_WARNINGS
=
"plsql_warnings"
;
static
const
char
*
const
OB_SV__OB_PX_BCAST_OPTIMIZATION
=
"_ob_px_bcast_optimization"
;
static
const
char
*
const
OB_SV__ENABLE_PARALLEL_QUERY
=
"_enable_parallel_query"
;
static
const
char
*
const
OB_SV__OB_PX_SLAVE_MAPPING_THRESHOLD
=
"_ob_px_slave_mapping_threshold"
;
static
const
char
*
const
OB_SV__FORCE_PARALLEL_QUERY_DOP
=
"_force_parallel_query_dop"
;
static
const
char
*
const
OB_SV__ENABLE_PARALLEL_DML
=
"_enable_parallel_dml"
;
static
const
char
*
const
OB_SV__FORCE_PARALLEL_DML_DOP
=
"_force_parallel_dml_dop"
;
static
const
char
*
const
OB_SV__PX_MIN_GRANULES_PER_SLAVE
=
"_px_min_granules_per_slave"
;
static
const
char
*
const
OB_SV_PL_BLOCK_TIMEOUT
=
"ob_pl_block_timeout"
;
static
const
char
*
const
OB_SV_SECURE_FILE_PRIV
=
"secure_file_priv"
;
static
const
char
*
const
OB_SV_TRANSACTION_READ_ONLY
=
"transaction_read_only"
;
static
const
char
*
const
OB_SV_PLSQL_WARNINGS
=
"plsql_warnings"
;
static
const
char
*
const
OB_SV_RESOURCE_MANAGER_PLAN
=
"resource_manager_plan"
;
static
const
char
*
const
OB_SV__ENABLE_PARALLEL_QUERY
=
"_enable_parallel_query"
;
static
const
char
*
const
OB_SV_PERFORMANCE_SCHEMA
=
"performance_schema"
;
static
const
char
*
const
OB_SV__FORCE_PARALLEL_QUERY_DOP
=
"_force_parallel_query_dop"
;
static
const
char
*
const
OB_SV_NLS_CURRENCY
=
"nls_currency"
;
static
const
char
*
const
OB_SV__FORCE_PARALLEL_DML_DOP
=
"_force_parallel_dml_dop"
;
static
const
char
*
const
OB_SV_NLS_ISO_CURRENCY
=
"nls_iso_currency"
;
static
const
char
*
const
OB_SV_PL_BLOCK_TIMEOUT
=
"ob_pl_block_timeout"
;
static
const
char
*
const
OB_SV_NLS_DUAL_CURRENCY
=
"nls_dual_currency"
;
static
const
char
*
const
OB_SV_TRANSACTION_READ_ONLY
=
"transaction_read_only"
;
static
const
char
*
const
OB_SV__OB_PROXY_SESSION_TEMPORARY_TABLE_USED
=
"_ob_proxy_session_temporary_table_used"
;
static
const
char
*
const
OB_SV_RESOURCE_MANAGER_PLAN
=
"resource_manager_plan"
;
static
const
char
*
const
OB_SV_PERFORMANCE_SCHEMA
=
"performance_schema"
;
static
const
char
*
const
OB_SV_NLS_CURRENCY
=
"nls_currency"
;
static
const
char
*
const
OB_SV_NLS_ISO_CURRENCY
=
"nls_iso_currency"
;
static
const
char
*
const
OB_SV_NLS_DUAL_CURRENCY
=
"nls_dual_currency"
;
static
const
char
*
const
OB_SV__OB_PROXY_SESSION_TEMPORARY_TABLE_USED
=
"_ob_proxy_session_temporary_table_used"
;
}
}
#endif //OCEANBASE_COMMON_OB_SYSTEM_VARIABLE_ALIAS_H_
}
// namespace share
}
// namespace oceanbase
#endif // OCEANBASE_COMMON_OB_SYSTEM_VARIABLE_ALIAS_H_
src/share/system_variable/ob_system_variable_factory.cpp
浏览文件 @
fa8b8384
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
src/share/system_variable/ob_system_variable_factory.h
浏览文件 @
fa8b8384
...
@@ -12,2675 +12,1463 @@
...
@@ -12,2675 +12,1463 @@
#ifndef OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_
#ifndef OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_
#define OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_
#define OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_
#include "common/object/ob_object.h"
#include "share/system_variable/ob_system_variable.h"
#include "share/system_variable/ob_system_variable_init.h"
#include "lib/allocator/page_arena.h"
#include "lib/allocator/page_arena.h"
#include "lib/string/ob_string.h"
#include "lib/string/ob_string.h"
#include "lib/container/ob_array.h"
#include "lib/container/ob_array.h"
#include "common/object/ob_object.h"
#include "share/system_variable/ob_system_variable.h"
namespace
oceanbase
{
namespace
share
{
class
ObSysVarAutoIncrementIncrement
:
public
ObIntSysVar
{
public:
ObSysVarAutoIncrementIncrement
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_AUTO_INCREMENT_INCREMENT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
0
);
}
};
class
ObSysVarAutoIncrementOffset
:
public
ObIntSysVar
{
public:
ObSysVarAutoIncrementOffset
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_AUTO_INCREMENT_OFFSET
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
1
);
}
};
class
ObSysVarAutocommit
:
public
ObBoolSysVar
{
public:
ObSysVarAutocommit
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_AUTOCOMMIT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
2
);
}
};
class
ObSysVarCharacterSetClient
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetClient
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_CLIENT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
3
);
}
};
class
ObSysVarCharacterSetConnection
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetConnection
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_CONNECTION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
4
);
}
};
class
ObSysVarCharacterSetDatabase
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetDatabase
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_DATABASE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
5
);
}
};
class
ObSysVarCharacterSetResults
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetResults
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_RESULTS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
6
);
}
};
class
ObSysVarCharacterSetServer
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetServer
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_SERVER
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
7
);
}
};
class
ObSysVarCharacterSetSystem
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetSystem
()
:
ObCharsetSysVar
(
NULL
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_SYSTEM
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
8
);
}
};
class
ObSysVarCollationConnection
:
public
ObCharsetSysVar
{
public:
ObSysVarCollationConnection
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_collation_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_collation
,
ObSysVarToStrFuncs
::
to_str_collation
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_COLLATION_CONNECTION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
9
);
}
};
class
ObSysVarCollationDatabase
:
public
ObCharsetSysVar
{
public:
ObSysVarCollationDatabase
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_collation_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_collation
,
ObSysVarToStrFuncs
::
to_str_collation
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_COLLATION_DATABASE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
10
);
}
};
class
ObSysVarCollationServer
:
public
ObCharsetSysVar
{
public:
ObSysVarCollationServer
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_collation_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_collation
,
ObSysVarToStrFuncs
::
to_str_collation
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_COLLATION_SERVER
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
11
);
}
};
class
ObSysVarInteractiveTimeout
:
public
ObIntSysVar
{
public:
ObSysVarInteractiveTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_INTERACTIVE_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
12
);
}
};
class
ObSysVarLastInsertId
:
public
ObSessionSpecialIntSysVar
{
public:
ObSysVarLastInsertId
()
:
ObSessionSpecialIntSysVar
(
NULL
,
ObSysVarSessionSpecialUpdateFuncs
::
update_last_insert_id
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LAST_INSERT_ID
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
13
);
}
};
class
ObSysVarMaxAllowedPacket
:
public
ObIntSysVar
{
public:
ObSysVarMaxAllowedPacket
()
:
ObIntSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_max_allowed_packet
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_ALLOWED_PACKET
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
14
);
}
};
class
ObSysVarSqlMode
:
public
ObSqlModeVar
{
public:
ObSysVarSqlMode
()
:
ObSqlModeVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_sql_mode
,
ObSysVarOnUpdateFuncs
::
update_sql_mode
,
ObSysVarToObjFuncs
::
to_obj_sql_mode
,
ObSysVarToStrFuncs
::
to_str_sql_mode
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_MODE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
15
);
}
};
class
ObSysVarTimeZone
:
public
ObTimeZoneSysVar
{
public:
ObSysVarTimeZone
()
:
ObTimeZoneSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TIME_ZONE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
16
);
}
};
class
ObSysVarTxIsolation
:
public
ObSessionSpecialVarcharSysVar
{
public:
ObSysVarTxIsolation
()
:
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_TX_ISOLATION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
17
);
}
};
class
ObSysVarVersionComment
:
public
ObVarcharSysVar
{
public:
ObSysVarVersionComment
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION_COMMENT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
18
);
}
};
class
ObSysVarWaitTimeout
:
public
ObIntSysVar
{
public:
ObSysVarWaitTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_WAIT_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
19
);
}
};
class
ObSysVarBinlogRowImage
:
public
ObEnumSysVar
{
public:
const
static
char
*
BINLOG_ROW_IMAGE_NAMES
[];
namespace
oceanbase
{
namespace
share
{
class
ObSysVarAutoIncrementIncrement
:
public
ObIntSysVar
{
public:
public:
ObSysVarBinlogRowImage
()
:
ObEnumSysVar
(
BINLOG_ROW_IMAGE_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarAutoIncrementIncrement
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_AUTO_INCREMENT_INCREMENT
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
0
);
}
{
};
return
SYS_VAR_BINLOG_ROW_IMAGE
;
class
ObSysVarAutoIncrementOffset
:
public
ObIntSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
20
);
}
};
class
ObSysVarCharacterSetFilesystem
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetFilesystem
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_FILESYSTEM
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
21
);
}
};
class
ObSysVarConnectTimeout
:
public
ObIntSysVar
{
public:
ObSysVarConnectTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CONNECT_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
22
);
}
};
class
ObSysVarDatadir
:
public
ObVarcharSysVar
{
public:
ObSysVarDatadir
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DATADIR
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
23
);
}
};
class
ObSysVarDebugSync
:
public
ObVarcharSysVar
{
public:
ObSysVarDebugSync
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DEBUG_SYNC
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
24
);
}
};
class
ObSysVarDivPrecisionIncrement
:
public
ObIntSysVar
{
public:
ObSysVarDivPrecisionIncrement
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DIV_PRECISION_INCREMENT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
25
);
}
};
class
ObSysVarExplicitDefaultsForTimestamp
:
public
ObBoolSysVar
{
public:
ObSysVarExplicitDefaultsForTimestamp
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_EXPLICIT_DEFAULTS_FOR_TIMESTAMP
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
26
);
}
};
class
ObSysVarGroupConcatMaxLen
:
public
ObIntSysVar
{
public:
ObSysVarGroupConcatMaxLen
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_GROUP_CONCAT_MAX_LEN
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
27
);
}
};
class
ObSysVarIdentity
:
public
ObSessionSpecialIntSysVar
{
public:
ObSysVarIdentity
()
:
ObSessionSpecialIntSysVar
(
NULL
,
ObSysVarSessionSpecialUpdateFuncs
::
update_identity
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_IDENTITY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
28
);
}
};
class
ObSysVarLowerCaseTableNames
:
public
ObIntSysVar
{
public:
ObSysVarLowerCaseTableNames
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LOWER_CASE_TABLE_NAMES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
29
);
}
};
class
ObSysVarNetReadTimeout
:
public
ObIntSysVar
{
public:
ObSysVarNetReadTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_NET_READ_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
30
);
}
};
class
ObSysVarNetWriteTimeout
:
public
ObIntSysVar
{
public:
ObSysVarNetWriteTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_NET_WRITE_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
31
);
}
};
class
ObSysVarReadOnly
:
public
ObBoolSysVar
{
public:
ObSysVarReadOnly
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_READ_ONLY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
32
);
}
};
class
ObSysVarSqlAutoIsNull
:
public
ObBoolSysVar
{
public:
ObSysVarSqlAutoIsNull
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_AUTO_IS_NULL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
33
);
}
};
class
ObSysVarSqlSelectLimit
:
public
ObIntSysVar
{
public:
ObSysVarSqlSelectLimit
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_SELECT_LIMIT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
34
);
}
};
class
ObSysVarTimestamp
:
public
ObNumericSysVar
{
public:
ObSysVarTimestamp
()
:
ObNumericSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_max_min_timestamp
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TIMESTAMP
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
35
);
}
};
class
ObSysVarTxReadOnly
:
public
ObSessionSpecialBoolSysVar
{
public:
ObSysVarTxReadOnly
()
:
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_TX_READ_ONLY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
36
);
}
};
class
ObSysVarVersion
:
public
ObVarcharSysVar
{
public:
ObSysVarVersion
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
37
);
}
};
class
ObSysVarSqlWarnings
:
public
ObBoolSysVar
{
public:
ObSysVarSqlWarnings
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_WARNINGS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
38
);
}
};
class
ObSysVarMaxUserConnections
:
public
ObIntSysVar
{
public:
ObSysVarMaxUserConnections
()
:
ObIntSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_max_user_connections
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_USER_CONNECTIONS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
39
);
}
};
class
ObSysVarInitConnect
:
public
ObVarcharSysVar
{
public:
ObSysVarInitConnect
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_INIT_CONNECT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
40
);
}
};
class
ObSysVarLicense
:
public
ObVarcharSysVar
{
public:
ObSysVarLicense
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LICENSE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
41
);
}
};
class
ObSysVarNetBufferLength
:
public
ObIntSysVar
{
public:
ObSysVarNetBufferLength
()
:
ObIntSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_net_buffer_length
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_NET_BUFFER_LENGTH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
42
);
}
};
class
ObSysVarSystemTimeZone
:
public
ObVarcharSysVar
{
public:
ObSysVarSystemTimeZone
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SYSTEM_TIME_ZONE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
43
);
}
};
class
ObSysVarQueryCacheSize
:
public
ObIntSysVar
{
public:
ObSysVarQueryCacheSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_QUERY_CACHE_SIZE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
44
);
}
};
class
ObSysVarQueryCacheType
:
public
ObEnumSysVar
{
public:
const
static
char
*
QUERY_CACHE_TYPE_NAMES
[];
public:
public:
ObSysVarQueryCacheType
()
:
ObEnumSysVar
(
QUERY_CACHE_TYPE_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarAutoIncrementOffset
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_AUTO_INCREMENT_OFFSET
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
1
);
}
{
};
return
SYS_VAR_QUERY_CACHE_TYPE
;
class
ObSysVarAutocommit
:
public
ObBoolSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
45
);
}
};
class
ObSysVarSqlQuoteShowCreate
:
public
ObBoolSysVar
{
public:
ObSysVarSqlQuoteShowCreate
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_QUOTE_SHOW_CREATE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
46
);
}
};
class
ObSysVarMaxSpRecursionDepth
:
public
ObIntSysVar
{
public:
ObSysVarMaxSpRecursionDepth
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_SP_RECURSION_DEPTH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
47
);
}
};
class
ObSysVarSqlSafeUpdates
:
public
ObBoolSysVar
{
public:
ObSysVarSqlSafeUpdates
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_SAFE_UPDATES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
48
);
}
};
class
ObSysVarConcurrentInsert
:
public
ObVarcharSysVar
{
public:
ObSysVarConcurrentInsert
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CONCURRENT_INSERT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
49
);
}
};
class
ObSysVarDefaultAuthenticationPlugin
:
public
ObVarcharSysVar
{
public:
ObSysVarDefaultAuthenticationPlugin
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DEFAULT_AUTHENTICATION_PLUGIN
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
50
);
}
};
class
ObSysVarDisabledStorageEngines
:
public
ObVarcharSysVar
{
public:
ObSysVarDisabledStorageEngines
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DISABLED_STORAGE_ENGINES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
51
);
}
};
class
ObSysVarErrorCount
:
public
ObIntSysVar
{
public:
ObSysVarErrorCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_ERROR_COUNT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
52
);
}
};
class
ObSysVarGeneralLog
:
public
ObBoolSysVar
{
public:
ObSysVarGeneralLog
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_GENERAL_LOG
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
53
);
}
};
class
ObSysVarHaveOpenssl
:
public
ObVarcharSysVar
{
public:
ObSysVarHaveOpenssl
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HAVE_OPENSSL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
54
);
}
};
class
ObSysVarHaveProfiling
:
public
ObVarcharSysVar
{
public:
ObSysVarHaveProfiling
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HAVE_PROFILING
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
55
);
}
};
class
ObSysVarHaveSsl
:
public
ObVarcharSysVar
{
public:
ObSysVarHaveSsl
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HAVE_SSL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
56
);
}
};
class
ObSysVarHostname
:
public
ObVarcharSysVar
{
public:
ObSysVarHostname
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HOSTNAME
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
57
);
}
};
class
ObSysVarLcMessages
:
public
ObVarcharSysVar
{
public:
ObSysVarLcMessages
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LC_MESSAGES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
58
);
}
};
class
ObSysVarLocalInfile
:
public
ObBoolSysVar
{
public:
ObSysVarLocalInfile
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LOCAL_INFILE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
59
);
}
};
class
ObSysVarLockWaitTimeout
:
public
ObIntSysVar
{
public:
ObSysVarLockWaitTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LOCK_WAIT_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
60
);
}
};
class
ObSysVarLongQueryTime
:
public
ObNumericSysVar
{
public:
ObSysVarLongQueryTime
()
:
ObNumericSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LONG_QUERY_TIME
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
61
);
}
};
class
ObSysVarMaxConnections
:
public
ObIntSysVar
{
public:
ObSysVarMaxConnections
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_CONNECTIONS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
62
);
}
};
class
ObSysVarMaxExecutionTime
:
public
ObIntSysVar
{
public:
ObSysVarMaxExecutionTime
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_EXECUTION_TIME
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
63
);
}
};
class
ObSysVarProtocolVersion
:
public
ObIntSysVar
{
public:
ObSysVarProtocolVersion
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_PROTOCOL_VERSION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
64
);
}
};
class
ObSysVarServerId
:
public
ObIntSysVar
{
public:
ObSysVarServerId
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SERVER_ID
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
65
);
}
};
class
ObSysVarSslCa
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCa
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CA
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
66
);
}
};
class
ObSysVarSslCapath
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCapath
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CAPATH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
67
);
}
};
class
ObSysVarSslCert
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCert
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CERT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
68
);
}
};
class
ObSysVarSslCipher
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCipher
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CIPHER
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
69
);
}
};
class
ObSysVarSslCrl
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCrl
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CRL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
70
);
}
};
class
ObSysVarSslCrlpath
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCrlpath
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CRLPATH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
71
);
}
};
class
ObSysVarSslKey
:
public
ObVarcharSysVar
{
public:
ObSysVarSslKey
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_KEY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
72
);
}
};
class
ObSysVarTimeFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarTimeFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TIME_FORMAT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
73
);
}
};
class
ObSysVarTlsVersion
:
public
ObVarcharSysVar
{
public:
ObSysVarTlsVersion
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TLS_VERSION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
74
);
}
};
class
ObSysVarTmpTableSize
:
public
ObIntSysVar
{
public:
ObSysVarTmpTableSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TMP_TABLE_SIZE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
75
);
}
};
class
ObSysVarTmpdir
:
public
ObVarcharSysVar
{
public:
ObSysVarTmpdir
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TMPDIR
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
76
);
}
};
class
ObSysVarUniqueChecks
:
public
ObBoolSysVar
{
public:
ObSysVarUniqueChecks
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_UNIQUE_CHECKS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
77
);
}
};
class
ObSysVarVersionCompileMachine
:
public
ObVarcharSysVar
{
public:
ObSysVarVersionCompileMachine
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION_COMPILE_MACHINE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
78
);
}
};
class
ObSysVarVersionCompileOs
:
public
ObVarcharSysVar
{
public:
ObSysVarVersionCompileOs
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION_COMPILE_OS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
79
);
}
};
class
ObSysVarWarningCount
:
public
ObIntSysVar
{
public:
ObSysVarWarningCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_WARNING_COUNT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
80
);
}
};
class
ObSysVarObDefaultReplicaNum
:
public
ObIntSysVar
{
public:
ObSysVarObDefaultReplicaNum
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
81
);
}
};
class
ObSysVarObIntermResultMemLimit
:
public
ObIntSysVar
{
public:
ObSysVarObIntermResultMemLimit
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
82
);
}
};
class
ObSysVarObProxyPartitionHit
:
public
ObBoolSysVar
{
public:
ObSysVarObProxyPartitionHit
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
83
);
}
};
class
ObSysVarObLogLevel
:
public
ObVarcharSysVar
{
public:
ObSysVarObLogLevel
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
84
);
}
};
class
ObSysVarObMaxParallelDegree
:
public
ObIntSysVar
{
public:
ObSysVarObMaxParallelDegree
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
85
);
}
};
class
ObSysVarObQueryTimeout
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
86
);
}
};
class
ObSysVarObReadConsistency
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_READ_CONSISTENCY_NAMES
[];
public:
public:
ObSysVarObReadConsistency
()
:
ObEnumSysVar
(
OB_READ_CONSISTENCY_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarAutocommit
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_AUTOCOMMIT
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
2
);
}
{
};
return
SYS_VAR_OB_READ_CONSISTENCY
;
class
ObSysVarCharacterSetClient
:
public
ObCharsetSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
87
);
}
};
class
ObSysVarObEnableTransformation
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTransformation
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
88
);
}
};
class
ObSysVarObTrxTimeout
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
89
);
}
};
class
ObSysVarObEnablePlanCache
:
public
ObBoolSysVar
{
public:
ObSysVarObEnablePlanCache
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
90
);
}
};
class
ObSysVarObEnableIndexDirectSelect
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableIndexDirectSelect
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
91
);
}
};
class
ObSysVarObProxySetTrxExecuted
:
public
ObBoolSysVar
{
public:
ObSysVarObProxySetTrxExecuted
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
92
);
}
};
class
ObSysVarObEnableAggregationPushdown
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableAggregationPushdown
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
93
);
}
};
class
ObSysVarObLastSchemaVersion
:
public
ObIntSysVar
{
public:
ObSysVarObLastSchemaVersion
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
94
);
}
};
class
ObSysVarObGlobalDebugSync
:
public
ObVarcharSysVar
{
public:
ObSysVarObGlobalDebugSync
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
95
);
}
};
class
ObSysVarObProxyGlobalVariablesVersion
:
public
ObIntSysVar
{
public:
ObSysVarObProxyGlobalVariablesVersion
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
96
);
}
};
class
ObSysVarObEnableTraceLog
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTraceLog
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
97
);
}
};
class
ObSysVarObEnableHashGroupBy
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableHashGroupBy
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
98
);
}
};
class
ObSysVarObEnableBlkNestedloopJoin
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableBlkNestedloopJoin
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
99
);
}
};
class
ObSysVarObBnlJoinCacheSize
:
public
ObIntSysVar
{
public:
ObSysVarObBnlJoinCacheSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
100
);
}
};
class
ObSysVarObProxyUserPrivilege
:
public
ObIntSysVar
{
public:
ObSysVarObProxyUserPrivilege
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
101
);
}
};
class
ObSysVarObOrgClusterId
:
public
ObStrictRangeIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
102
);
}
};
class
ObSysVarObPlanCachePercentage
:
public
ObIntSysVar
{
public:
ObSysVarObPlanCachePercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
103
);
}
};
class
ObSysVarObPlanCacheEvictHighPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObPlanCacheEvictHighPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
104
);
}
};
class
ObSysVarObPlanCacheEvictLowPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObPlanCacheEvictLowPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
105
);
}
};
class
ObSysVarRecyclebin
:
public
ObBoolSysVar
{
public:
ObSysVarRecyclebin
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
106
);
}
};
class
ObSysVarObCapabilityFlag
:
public
ObIntSysVar
{
public:
ObSysVarObCapabilityFlag
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
107
);
}
};
class
ObSysVarObStmtParallelDegree
:
public
ObIntSysVar
{
public:
ObSysVarObStmtParallelDegree
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
108
);
}
};
class
ObSysVarIsResultAccurate
:
public
ObBoolSysVar
{
public:
ObSysVarIsResultAccurate
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
109
);
}
};
class
ObSysVarErrorOnOverlapTime
:
public
ObBoolSysVar
{
public:
ObSysVarErrorOnOverlapTime
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
110
);
}
};
class
ObSysVarObCompatibilityMode
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_COMPATIBILITY_MODE_NAMES
[];
public:
public:
ObSysVarObCompatibilityMode
()
:
ObEnumSysVar
(
OB_COMPATIBILITY_MODE_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarCharacterSetClient
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_CLIENT
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
3
);
}
{
};
return
SYS_VAR_OB_COMPATIBILITY_MODE
;
class
ObSysVarCharacterSetConnection
:
public
ObCharsetSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
111
);
}
};
class
ObSysVarObCreateTableStrictMode
:
public
ObBoolSysVar
{
public:
ObSysVarObCreateTableStrictMode
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
112
);
}
};
class
ObSysVarObSqlWorkAreaPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObSqlWorkAreaPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
113
);
}
};
class
ObSysVarObSafeWeakReadSnapshot
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
114
);
}
};
class
ObSysVarObRoutePolicy
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_ROUTE_POLICY_NAMES
[];
public:
public:
ObSysVarObRoutePolicy
()
:
ObEnumSysVar
(
OB_ROUTE_POLICY_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarCharacterSetConnection
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_CONNECTION
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
4
);
}
{
};
return
SYS_VAR_OB_ROUTE_POLICY
;
class
ObSysVarCharacterSetDatabase
:
public
ObCharsetSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
115
);
}
};
class
ObSysVarObEnableTransmissionChecksum
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTransmissionChecksum
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
116
);
}
};
class
ObSysVarForeignKeyChecks
:
public
ObBoolSysVar
{
public:
ObSysVarForeignKeyChecks
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
117
);
}
};
class
ObSysVarObStatementTraceId
:
public
ObVarcharSysVar
{
public:
ObSysVarObStatementTraceId
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
118
);
}
};
class
ObSysVarObEnableTruncateFlashback
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTruncateFlashback
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
119
);
}
};
class
ObSysVarObTcpInvitedNodes
:
public
ObVarcharSysVar
{
public:
ObSysVarObTcpInvitedNodes
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
120
);
}
};
class
ObSysVarSqlThrottleCurrentPriority
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottleCurrentPriority
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
121
);
}
};
class
ObSysVarSqlThrottlePriority
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottlePriority
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
122
);
}
};
class
ObSysVarSqlThrottleRt
:
public
ObNumericSysVar
{
public:
ObSysVarSqlThrottleRt
()
:
ObNumericSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
123
);
}
};
class
ObSysVarSqlThrottleCpu
:
public
ObNumericSysVar
{
public:
ObSysVarSqlThrottleCpu
()
:
ObNumericSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
124
);
}
};
class
ObSysVarSqlThrottleIo
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottleIo
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
125
);
}
};
class
ObSysVarSqlThrottleNetwork
:
public
ObNumericSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
126
);
}
};
class
ObSysVarSqlThrottleLogicalReads
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottleLogicalReads
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
127
);
}
};
class
ObSysVarAutoIncrementCacheSize
:
public
ObIntSysVar
{
public:
ObSysVarAutoIncrementCacheSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
128
);
}
};
class
ObSysVarObEnableJit
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_ENABLE_JIT_NAMES
[];
public:
public:
ObSysVarObEnableJit
()
:
ObEnumSysVar
(
OB_ENABLE_JIT_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarCharacterSetDatabase
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_DATABASE
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
5
);
}
{
};
return
SYS_VAR_OB_ENABLE_JIT
;
class
ObSysVarCharacterSetResults
:
public
ObCharsetSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
129
);
}
};
class
ObSysVarObTempTablespaceSizePercentage
:
public
ObIntSysVar
{
public:
ObSysVarObTempTablespaceSizePercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
130
);
}
};
class
ObSysVarOptimizerAdaptiveCursorSharing
:
public
ObBoolSysVar
{
public:
ObSysVarOptimizerAdaptiveCursorSharing
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
131
);
}
};
class
ObSysVarObTimestampService
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_TIMESTAMP_SERVICE_NAMES
[];
public:
public:
ObSysVarObTimestampService
()
ObSysVarCharacterSetResults
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
:
ObEnumSysVar
(
OB_TIMESTAMP_SERVICE_NAMES
,
ObSysVarOnCheckFuncs
::
check_and_convert_timestamp_service
,
NULL
,
NULL
,
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_RESULTS
;
}
NULL
,
NULL
)
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
6
);
}
{}
};
inline
virtual
ObSysVarClassType
get_type
()
const
class
ObSysVarCharacterSetServer
:
public
ObCharsetSysVar
{
{
return
SYS_VAR_OB_TIMESTAMP_SERVICE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
132
);
}
};
class
ObSysVarPluginDir
:
public
ObVarcharSysVar
{
public:
ObSysVarPluginDir
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
133
);
}
};
class
ObSysVarUndoRetention
:
public
ObIntSysVar
{
public:
ObSysVarUndoRetention
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
134
);
}
};
class
ObSysVarObUseParallelExecution
:
public
ObBoolSysVar
{
public:
ObSysVarObUseParallelExecution
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
135
);
}
};
class
ObSysVarObSqlAuditPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObSqlAuditPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
136
);
}
};
class
ObSysVarObEnableSqlAudit
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableSqlAudit
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
137
);
}
};
class
ObSysVarOptimizerUseSqlPlanBaselines
:
public
ObBoolSysVar
{
public:
ObSysVarOptimizerUseSqlPlanBaselines
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
138
);
}
};
class
ObSysVarOptimizerCaptureSqlPlanBaselines
:
public
ObBoolSysVar
{
public:
ObSysVarOptimizerCaptureSqlPlanBaselines
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
139
);
}
};
class
ObSysVarParallelMaxServers
:
public
ObIntSysVar
{
public:
ObSysVarParallelMaxServers
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
140
);
}
};
class
ObSysVarParallelServersTarget
:
public
ObIntSysVar
{
public:
ObSysVarParallelServersTarget
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
141
);
}
};
class
ObSysVarObEarlyLockRelease
:
public
ObBoolSysVar
{
public:
ObSysVarObEarlyLockRelease
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
142
);
}
};
class
ObSysVarObTrxIdleTimeout
:
public
ObIntSysVar
{
public:
ObSysVarObTrxIdleTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
143
);
}
};
class
ObSysVarBlockEncryptionMode
:
public
ObEnumSysVar
{
public:
const
static
char
*
BLOCK_ENCRYPTION_MODE_NAMES
[];
public:
public:
ObSysVarBlockEncryptionMode
()
:
ObEnumSysVar
(
BLOCK_ENCRYPTION_MODE_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarCharacterSetServer
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_SERVER
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
7
);
}
{
};
return
SYS_VAR_BLOCK_ENCRYPTION_MODE
;
class
ObSysVarCharacterSetSystem
:
public
ObCharsetSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
144
);
}
};
class
ObSysVarNlsDateFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsDateFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
145
);
}
};
class
ObSysVarNlsTimestampFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsTimestampFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
146
);
}
};
class
ObSysVarNlsTimestampTzFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsTimestampTzFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
147
);
}
};
class
ObSysVarObReservedMetaMemoryPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObReservedMetaMemoryPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
148
);
}
};
class
ObSysVarObCheckSysVariable
:
public
ObBoolSysVar
{
public:
ObSysVarObCheckSysVariable
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
149
);
}
};
class
ObSysVarNlsLanguage
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsLanguage
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
150
);
}
};
class
ObSysVarNlsTerritory
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsTerritory
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
151
);
}
};
class
ObSysVarNlsSort
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsSort
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
152
);
}
};
class
ObSysVarNlsComp
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsComp
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
153
);
}
};
class
ObSysVarNlsCharacterset
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsCharacterset
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
154
);
}
};
class
ObSysVarNlsNcharCharacterset
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsNcharCharacterset
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
155
);
}
};
class
ObSysVarNlsDateLanguage
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsDateLanguage
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
156
);
}
};
class
ObSysVarNlsLengthSemantics
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsLengthSemantics
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
157
);
}
};
class
ObSysVarNlsNcharConvExcp
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsNcharConvExcp
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
158
);
}
};
class
ObSysVarNlsCalendar
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsCalendar
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
159
);
}
};
class
ObSysVarNlsNumericCharacters
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsNumericCharacters
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
160
);
}
};
class
ObSysVarNljBatchingEnabled
:
public
ObBoolSysVar
{
public:
ObSysVarNljBatchingEnabled
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
161
);
}
};
class
ObSysVarTracefileIdentifier
:
public
ObVarcharSysVar
{
public:
ObSysVarTracefileIdentifier
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
162
);
}
};
class
ObSysVarGroupbyNopushdownCutRatio
:
public
ObIntSysVar
{
public:
ObSysVarGroupbyNopushdownCutRatio
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
163
);
}
};
class
ObSysVarPxBroadcastFudgeFactor
:
public
ObIntSysVar
{
public:
ObSysVarPxBroadcastFudgeFactor
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
164
);
}
};
class
ObSysVarPrimaryZoneEntityCount
:
public
ObIntSysVar
{
public:
ObSysVarPrimaryZoneEntityCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
165
);
}
};
class
ObSysVarTransactionIsolation
:
public
ObSessionSpecialVarcharSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
166
);
}
};
class
ObSysVarObTrxLockTimeout
:
public
ObIntSysVar
{
public:
ObSysVarObTrxLockTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
167
);
}
};
class
ObSysVarValidatePasswordCheckUserName
:
public
ObEnumSysVar
{
public:
const
static
char
*
VALIDATE_PASSWORD_CHECK_USER_NAME_NAMES
[];
public:
public:
ObSysVarValidatePasswordCheckUserName
()
ObSysVarCharacterSetSystem
()
:
ObCharsetSysVar
(
NULL
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
:
ObEnumSysVar
(
VALIDATE_PASSWORD_CHECK_USER_NAME_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_SYSTEM
;
}
{}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
8
);
}
inline
virtual
ObSysVarClassType
get_type
()
const
};
{
class
ObSysVarCollationConnection
:
public
ObCharsetSysVar
return
SYS_VAR_VALIDATE_PASSWORD_CHECK_USER_NAME
;
{
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
168
);
}
};
class
ObSysVarValidatePasswordLength
:
public
ObIntSysVar
{
public:
ObSysVarValidatePasswordLength
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
169
);
}
};
class
ObSysVarValidatePasswordMixedCaseCount
:
public
ObIntSysVar
{
public:
ObSysVarValidatePasswordMixedCaseCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
170
);
}
};
class
ObSysVarValidatePasswordNumberCount
:
public
ObIntSysVar
{
public:
ObSysVarValidatePasswordNumberCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
171
);
}
};
class
ObSysVarValidatePasswordPolicy
:
public
ObEnumSysVar
{
public:
const
static
char
*
VALIDATE_PASSWORD_POLICY_NAMES
[];
public:
public:
ObSysVarValidatePasswordPolicy
()
:
ObEnumSysVar
(
VALIDATE_PASSWORD_POLICY_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
ObSysVarCollationConnection
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_collation_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_collation
,
ObSysVarToStrFuncs
::
to_str_collation
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_COLLATION_CONNECTION
;
}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
9
);
}
{
};
return
SYS_VAR_VALIDATE_PASSWORD_POLICY
;
class
ObSysVarCollationDatabase
:
public
ObCharsetSysVar
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
public:
{
ObSysVarCollationDatabase
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_collation_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_collation
,
ObSysVarToStrFuncs
::
to_str_collation
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
return
ObSysVariables
::
get_default_value
(
172
);
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_COLLATION_DATABASE
;
}
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
10
);
}
};
};
class
ObSysVarValidatePasswordSpecialCharCount
:
public
ObIntSysVar
{
class
ObSysVarCollationServer
:
public
ObCharsetSysVar
public:
{
ObSysVarValidatePasswordSpecialCharCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
public:
{}
ObSysVarCollationServer
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_collation_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_collation
,
ObSysVarToStrFuncs
::
to_str_collation
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_COLLATION_SERVER
;
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
11
);
}
return
SYS_VAR_VALIDATE_PASSWORD_SPECIAL_CHAR_COUNT
;
};
}
class
ObSysVarInteractiveTimeout
:
public
ObIntSysVar
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
{
public:
return
ObSysVariables
::
get_default_value
(
173
);
ObSysVarInteractiveTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_INTERACTIVE_TIMEOUT
;
}
};
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
12
);
}
class
ObSysVarDefaultPasswordLifetime
:
public
ObIntSysVar
{
};
public:
class
ObSysVarLastInsertId
:
public
ObSessionSpecialIntSysVar
ObSysVarDefaultPasswordLifetime
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{
{}
public:
inline
virtual
ObSysVarClassType
get_type
()
const
ObSysVarLastInsertId
()
:
ObSessionSpecialIntSysVar
(
NULL
,
ObSysVarSessionSpecialUpdateFuncs
::
update_last_insert_id
,
NULL
,
NULL
,
NULL
)
{}
{
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LAST_INSERT_ID
;
}
return
SYS_VAR_DEFAULT_PASSWORD_LIFETIME
;
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
13
);
}
}
};
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
class
ObSysVarMaxAllowedPacket
:
public
ObIntSysVar
{
{
return
ObSysVariables
::
get_default_value
(
174
);
public:
}
ObSysVarMaxAllowedPacket
()
:
ObIntSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_max_allowed_packet
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
};
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_ALLOWED_PACKET
;
}
class
ObSysVarObTraceInfo
:
public
ObVarcharSysVar
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
14
);
}
public:
};
ObSysVarObTraceInfo
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
class
ObSysVarSqlMode
:
public
ObSqlModeVar
{}
{
inline
virtual
ObSysVarClassType
get_type
()
const
public:
{
ObSysVarSqlMode
()
:
ObSqlModeVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_sql_mode
,
ObSysVarOnUpdateFuncs
::
update_sql_mode
,
ObSysVarToObjFuncs
::
to_obj_sql_mode
,
ObSysVarToStrFuncs
::
to_str_sql_mode
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
return
SYS_VAR_OB_TRACE_INFO
;
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_MODE
;
}
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
15
);
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
};
{
class
ObSysVarTimeZone
:
public
ObTimeZoneSysVar
return
ObSysVariables
::
get_default_value
(
175
);
{
}
public:
};
ObSysVarTimeZone
()
:
ObTimeZoneSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
class
ObSysVarObEnableBatchedMultiStatement
:
public
ObBoolSysVar
{
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TIME_ZONE
;
}
public:
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
16
);
}
ObSysVarObEnableBatchedMultiStatement
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
};
{}
class
ObSysVarTxIsolation
:
public
ObSessionSpecialVarcharSysVar
inline
virtual
ObSysVarClassType
get_type
()
const
{
{
public:
return
SYS_VAR_OB_ENABLE_BATCHED_MULTI_STATEMENT
;
ObSysVarTxIsolation
()
:
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_TX_ISOLATION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
17
);
}
{
};
return
ObSysVariables
::
get_default_value
(
176
);
class
ObSysVarVersionComment
:
public
ObVarcharSysVar
}
{
};
public:
class
ObSysVarPxPartitionScanThreshold
:
public
ObIntSysVar
{
ObSysVarVersionComment
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
public:
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION_COMMENT
;
}
ObSysVarPxPartitionScanThreshold
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
18
);
}
{}
};
inline
virtual
ObSysVarClassType
get_type
()
const
class
ObSysVarWaitTimeout
:
public
ObIntSysVar
{
{
return
SYS_VAR__PX_PARTITION_SCAN_THRESHOLD
;
public:
}
ObSysVarWaitTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_WAIT_TIMEOUT
;
}
{
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
19
);
}
return
ObSysVariables
::
get_default_value
(
177
);
};
}
class
ObSysVarBinlogRowImage
:
public
ObEnumSysVar
};
{
class
ObSysVarObPxBcastOptimization
:
public
ObEnumSysVar
{
public:
public:
const
static
char
*
BINLOG_ROW_IMAGE_NAMES
[];
const
static
char
*
_OB_PX_BCAST_OPTIMIZATION_NAMES
[];
public:
ObSysVarBinlogRowImage
()
:
ObEnumSysVar
(
BINLOG_ROW_IMAGE_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_BINLOG_ROW_IMAGE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
20
);
}
};
class
ObSysVarCharacterSetFilesystem
:
public
ObCharsetSysVar
{
public:
ObSysVarCharacterSetFilesystem
()
:
ObCharsetSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_charset_not_null
,
NULL
,
ObSysVarToObjFuncs
::
to_obj_charset
,
ObSysVarToStrFuncs
::
to_str_charset
,
ObSysVarGetMetaTypeFuncs
::
get_meta_type_varchar
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CHARACTER_SET_FILESYSTEM
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
21
);
}
};
class
ObSysVarConnectTimeout
:
public
ObIntSysVar
{
public:
ObSysVarConnectTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CONNECT_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
22
);
}
};
class
ObSysVarDatadir
:
public
ObVarcharSysVar
{
public:
ObSysVarDatadir
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DATADIR
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
23
);
}
};
class
ObSysVarDebugSync
:
public
ObVarcharSysVar
{
public:
ObSysVarDebugSync
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DEBUG_SYNC
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
24
);
}
};
class
ObSysVarDivPrecisionIncrement
:
public
ObIntSysVar
{
public:
ObSysVarDivPrecisionIncrement
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DIV_PRECISION_INCREMENT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
25
);
}
};
class
ObSysVarExplicitDefaultsForTimestamp
:
public
ObBoolSysVar
{
public:
ObSysVarExplicitDefaultsForTimestamp
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_EXPLICIT_DEFAULTS_FOR_TIMESTAMP
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
26
);
}
};
class
ObSysVarGroupConcatMaxLen
:
public
ObIntSysVar
{
public:
ObSysVarGroupConcatMaxLen
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_GROUP_CONCAT_MAX_LEN
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
27
);
}
};
class
ObSysVarIdentity
:
public
ObSessionSpecialIntSysVar
{
public:
ObSysVarIdentity
()
:
ObSessionSpecialIntSysVar
(
NULL
,
ObSysVarSessionSpecialUpdateFuncs
::
update_identity
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_IDENTITY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
28
);
}
};
class
ObSysVarLowerCaseTableNames
:
public
ObIntSysVar
{
public:
ObSysVarLowerCaseTableNames
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LOWER_CASE_TABLE_NAMES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
29
);
}
};
class
ObSysVarNetReadTimeout
:
public
ObIntSysVar
{
public:
ObSysVarNetReadTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_NET_READ_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
30
);
}
};
class
ObSysVarNetWriteTimeout
:
public
ObIntSysVar
{
public:
ObSysVarNetWriteTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_NET_WRITE_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
31
);
}
};
class
ObSysVarReadOnly
:
public
ObBoolSysVar
{
public:
ObSysVarReadOnly
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_READ_ONLY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
32
);
}
};
class
ObSysVarSqlAutoIsNull
:
public
ObBoolSysVar
{
public:
ObSysVarSqlAutoIsNull
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_AUTO_IS_NULL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
33
);
}
};
class
ObSysVarSqlSelectLimit
:
public
ObIntSysVar
{
public:
ObSysVarSqlSelectLimit
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_SELECT_LIMIT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
34
);
}
};
class
ObSysVarTimestamp
:
public
ObNumericSysVar
{
public:
ObSysVarTimestamp
()
:
ObNumericSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_max_min_timestamp
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TIMESTAMP
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
35
);
}
};
class
ObSysVarTxReadOnly
:
public
ObSessionSpecialBoolSysVar
{
public:
ObSysVarTxReadOnly
()
:
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_TX_READ_ONLY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
36
);
}
};
class
ObSysVarVersion
:
public
ObVarcharSysVar
{
public:
ObSysVarVersion
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
37
);
}
};
class
ObSysVarSqlWarnings
:
public
ObBoolSysVar
{
public:
ObSysVarSqlWarnings
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_WARNINGS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
38
);
}
};
class
ObSysVarMaxUserConnections
:
public
ObIntSysVar
{
public:
ObSysVarMaxUserConnections
()
:
ObIntSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_max_user_connections
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_USER_CONNECTIONS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
39
);
}
};
class
ObSysVarInitConnect
:
public
ObVarcharSysVar
{
public:
ObSysVarInitConnect
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_INIT_CONNECT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
40
);
}
};
class
ObSysVarLicense
:
public
ObVarcharSysVar
{
public:
ObSysVarLicense
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LICENSE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
41
);
}
};
class
ObSysVarNetBufferLength
:
public
ObIntSysVar
{
public:
ObSysVarNetBufferLength
()
:
ObIntSysVar
(
ObSysVarOnCheckFuncs
::
check_and_convert_net_buffer_length
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_NET_BUFFER_LENGTH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
42
);
}
};
class
ObSysVarSystemTimeZone
:
public
ObVarcharSysVar
{
public:
ObSysVarSystemTimeZone
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SYSTEM_TIME_ZONE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
43
);
}
};
class
ObSysVarQueryCacheSize
:
public
ObIntSysVar
{
public:
ObSysVarQueryCacheSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_QUERY_CACHE_SIZE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
44
);
}
};
class
ObSysVarQueryCacheType
:
public
ObEnumSysVar
{
public:
const
static
char
*
QUERY_CACHE_TYPE_NAMES
[];
public:
ObSysVarQueryCacheType
()
:
ObEnumSysVar
(
QUERY_CACHE_TYPE_NAMES
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_QUERY_CACHE_TYPE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
45
);
}
};
class
ObSysVarSqlQuoteShowCreate
:
public
ObBoolSysVar
{
public:
ObSysVarSqlQuoteShowCreate
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_QUOTE_SHOW_CREATE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
46
);
}
};
class
ObSysVarMaxSpRecursionDepth
:
public
ObIntSysVar
{
public:
ObSysVarMaxSpRecursionDepth
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_SP_RECURSION_DEPTH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
47
);
}
};
class
ObSysVarSqlSafeUpdates
:
public
ObBoolSysVar
{
public:
ObSysVarSqlSafeUpdates
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SQL_SAFE_UPDATES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
48
);
}
};
class
ObSysVarConcurrentInsert
:
public
ObVarcharSysVar
{
public:
ObSysVarConcurrentInsert
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_CONCURRENT_INSERT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
49
);
}
};
class
ObSysVarDefaultAuthenticationPlugin
:
public
ObVarcharSysVar
{
public:
ObSysVarDefaultAuthenticationPlugin
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DEFAULT_AUTHENTICATION_PLUGIN
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
50
);
}
};
class
ObSysVarDisabledStorageEngines
:
public
ObVarcharSysVar
{
public:
ObSysVarDisabledStorageEngines
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_DISABLED_STORAGE_ENGINES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
51
);
}
};
class
ObSysVarErrorCount
:
public
ObIntSysVar
{
public:
ObSysVarErrorCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_ERROR_COUNT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
52
);
}
};
class
ObSysVarGeneralLog
:
public
ObBoolSysVar
{
public:
ObSysVarGeneralLog
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_GENERAL_LOG
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
53
);
}
};
class
ObSysVarHaveOpenssl
:
public
ObVarcharSysVar
{
public:
ObSysVarHaveOpenssl
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HAVE_OPENSSL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
54
);
}
};
class
ObSysVarHaveProfiling
:
public
ObVarcharSysVar
{
public:
ObSysVarHaveProfiling
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HAVE_PROFILING
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
55
);
}
};
class
ObSysVarHaveSsl
:
public
ObVarcharSysVar
{
public:
ObSysVarHaveSsl
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HAVE_SSL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
56
);
}
};
class
ObSysVarHostname
:
public
ObVarcharSysVar
{
public:
ObSysVarHostname
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_HOSTNAME
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
57
);
}
};
class
ObSysVarLcMessages
:
public
ObVarcharSysVar
{
public:
ObSysVarLcMessages
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LC_MESSAGES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
58
);
}
};
class
ObSysVarLocalInfile
:
public
ObBoolSysVar
{
public:
ObSysVarLocalInfile
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LOCAL_INFILE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
59
);
}
};
class
ObSysVarLockWaitTimeout
:
public
ObIntSysVar
{
public:
ObSysVarLockWaitTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LOCK_WAIT_TIMEOUT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
60
);
}
};
class
ObSysVarLongQueryTime
:
public
ObNumericSysVar
{
public:
ObSysVarLongQueryTime
()
:
ObNumericSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_LONG_QUERY_TIME
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
61
);
}
};
class
ObSysVarMaxConnections
:
public
ObIntSysVar
{
public:
ObSysVarMaxConnections
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_CONNECTIONS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
62
);
}
};
class
ObSysVarMaxExecutionTime
:
public
ObIntSysVar
{
public:
ObSysVarMaxExecutionTime
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_MAX_EXECUTION_TIME
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
63
);
}
};
class
ObSysVarProtocolVersion
:
public
ObIntSysVar
{
public:
ObSysVarProtocolVersion
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_PROTOCOL_VERSION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
64
);
}
};
class
ObSysVarServerId
:
public
ObIntSysVar
{
public:
ObSysVarServerId
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SERVER_ID
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
65
);
}
};
class
ObSysVarSslCa
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCa
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CA
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
66
);
}
};
class
ObSysVarSslCapath
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCapath
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CAPATH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
67
);
}
};
class
ObSysVarSslCert
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCert
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CERT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
68
);
}
};
class
ObSysVarSslCipher
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCipher
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CIPHER
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
69
);
}
};
class
ObSysVarSslCrl
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCrl
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CRL
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
70
);
}
};
class
ObSysVarSslCrlpath
:
public
ObVarcharSysVar
{
public:
ObSysVarSslCrlpath
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_CRLPATH
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
71
);
}
};
class
ObSysVarSslKey
:
public
ObVarcharSysVar
{
public:
ObSysVarSslKey
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SSL_KEY
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
72
);
}
};
class
ObSysVarTimeFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarTimeFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TIME_FORMAT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
73
);
}
};
class
ObSysVarTlsVersion
:
public
ObVarcharSysVar
{
public:
ObSysVarTlsVersion
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TLS_VERSION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
74
);
}
};
class
ObSysVarTmpTableSize
:
public
ObIntSysVar
{
public:
ObSysVarTmpTableSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TMP_TABLE_SIZE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
75
);
}
};
class
ObSysVarTmpdir
:
public
ObVarcharSysVar
{
public:
ObSysVarTmpdir
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_TMPDIR
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
76
);
}
};
class
ObSysVarUniqueChecks
:
public
ObBoolSysVar
{
public:
ObSysVarUniqueChecks
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_UNIQUE_CHECKS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
77
);
}
};
class
ObSysVarVersionCompileMachine
:
public
ObVarcharSysVar
{
public:
ObSysVarVersionCompileMachine
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION_COMPILE_MACHINE
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
78
);
}
};
class
ObSysVarVersionCompileOs
:
public
ObVarcharSysVar
{
public:
ObSysVarVersionCompileOs
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_VERSION_COMPILE_OS
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
79
);
}
};
class
ObSysVarWarningCount
:
public
ObIntSysVar
{
public:
ObSysVarWarningCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_WARNING_COUNT
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
80
);
}
};
class
ObSysVarSessionTrackSchema
:
public
ObBoolSysVar
{
public:
ObSysVarSessionTrackSchema
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SESSION_TRACK_SCHEMA
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
81
);
}
};
class
ObSysVarSessionTrackSystemVariables
:
public
ObVarcharSysVar
{
public:
ObSysVarSessionTrackSystemVariables
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
inline
virtual
ObSysVarClassType
get_type
()
const
{
return
SYS_VAR_SESSION_TRACK_SYSTEM_VARIABLES
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
82
);
}
};
class
ObSysVarSessionTrackStateChange
:
public
ObBoolSysVar
{
public:
ObSysVarSessionTrackStateChange
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObDefaultReplicaNum
:
public
ObIntSysVar
{
public:
ObSysVarObDefaultReplicaNum
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObIntermResultMemLimit
:
public
ObIntSysVar
{
public:
ObSysVarObIntermResultMemLimit
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObProxyPartitionHit
:
public
ObBoolSysVar
{
public:
ObSysVarObProxyPartitionHit
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObLogLevel
:
public
ObVarcharSysVar
{
public:
ObSysVarObLogLevel
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObMaxParallelDegree
:
public
ObIntSysVar
{
public:
ObSysVarObMaxParallelDegree
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObQueryTimeout
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
89
);
}
};
class
ObSysVarObReadConsistency
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_READ_CONSISTENCY_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
90
);
}
};
class
ObSysVarObEnableTransformation
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTransformation
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObTrxTimeout
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
92
);
}
};
class
ObSysVarObEnablePlanCache
:
public
ObBoolSysVar
{
public:
ObSysVarObEnablePlanCache
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableIndexDirectSelect
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableIndexDirectSelect
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObProxySetTrxExecuted
:
public
ObBoolSysVar
{
public:
ObSysVarObProxySetTrxExecuted
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableAggregationPushdown
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableAggregationPushdown
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObLastSchemaVersion
:
public
ObIntSysVar
{
public:
ObSysVarObLastSchemaVersion
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObGlobalDebugSync
:
public
ObVarcharSysVar
{
public:
ObSysVarObGlobalDebugSync
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObProxyGlobalVariablesVersion
:
public
ObIntSysVar
{
public:
public:
ObSysVarObPxBcastOptimization
()
:
ObEnumSysVar
(
_OB_PX_BCAST_OPTIMIZATION_NAMES
,
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
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
99
);
}
{
return
SYS_VAR__OB_PX_BCAST_OPTIMIZATION
;
}
inline
virtual
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
178
);
}
};
class
ObSysVarObPxSlaveMappingThreshold
:
public
ObIntSysVar
{
public:
ObSysVarObPxSlaveMappingThreshold
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
179
);
}
};
class
ObSysVarEnableParallelDml
:
public
ObBoolSysVar
{
public:
ObSysVarEnableParallelDml
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
180
);
}
};
class
ObSysVarPxMinGranulesPerSlave
:
public
ObIntSysVar
{
public:
ObSysVarPxMinGranulesPerSlave
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
181
);
}
};
class
ObSysVarSecureFilePriv
:
public
ObVarcharSysVar
{
public:
ObSysVarSecureFilePriv
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
182
);
}
};
class
ObSysVarPlsqlWarnings
:
public
ObVarcharSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
183
);
}
};
class
ObSysVarEnableParallelQuery
:
public
ObBoolSysVar
{
public:
ObSysVarEnableParallelQuery
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
184
);
}
};
class
ObSysVarForceParallelQueryDop
:
public
ObIntSysVar
{
public:
ObSysVarForceParallelQueryDop
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
185
);
}
};
class
ObSysVarForceParallelDmlDop
:
public
ObIntSysVar
{
public:
ObSysVarForceParallelDmlDop
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
186
);
}
};
class
ObSysVarObPlBlockTimeout
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
187
);
}
};
class
ObSysVarTransactionReadOnly
:
public
ObSessionSpecialBoolSysVar
{
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
)
{}
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
(
188
);
}
};
class
ObSysVarResourceManagerPlan
:
public
ObVarcharSysVar
{
public:
ObSysVarResourceManagerPlan
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
189
);
}
};
class
ObSysVarPerformanceSchema
:
public
ObBoolSysVar
{
public:
ObSysVarPerformanceSchema
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
190
);
}
};
class
ObSysVarNlsCurrency
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsCurrency
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
191
);
}
};
class
ObSysVarNlsIsoCurrency
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsIsoCurrency
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
192
);
}
};
class
ObSysVarNlsDualCurrency
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsDualCurrency
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
193
);
}
};
class
ObSysVarObProxySessionTemporaryTableUsed
:
public
ObBoolSysVar
{
public:
ObSysVarObProxySessionTemporaryTableUsed
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
(
194
);
}
};
};
class
ObSysVarObEnableTraceLog
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTraceLog
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableHashGroupBy
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableHashGroupBy
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableBlkNestedloopJoin
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableBlkNestedloopJoin
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObBnlJoinCacheSize
:
public
ObIntSysVar
{
public:
ObSysVarObBnlJoinCacheSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObProxyUserPrivilege
:
public
ObIntSysVar
{
public:
ObSysVarObProxyUserPrivilege
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObOrgClusterId
:
public
ObStrictRangeIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
105
);
}
};
class
ObSysVarObPlanCachePercentage
:
public
ObIntSysVar
{
public:
ObSysVarObPlanCachePercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObPlanCacheEvictHighPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObPlanCacheEvictHighPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObPlanCacheEvictLowPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObPlanCacheEvictLowPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarRecyclebin
:
public
ObBoolSysVar
{
public:
ObSysVarRecyclebin
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObCapabilityFlag
:
public
ObIntSysVar
{
public:
ObSysVarObCapabilityFlag
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObStmtParallelDegree
:
public
ObIntSysVar
{
public:
ObSysVarObStmtParallelDegree
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarIsResultAccurate
:
public
ObBoolSysVar
{
public:
ObSysVarIsResultAccurate
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarErrorOnOverlapTime
:
public
ObBoolSysVar
{
public:
ObSysVarErrorOnOverlapTime
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObCompatibilityMode
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_COMPATIBILITY_MODE_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
114
);
}
};
class
ObSysVarObCreateTableStrictMode
:
public
ObBoolSysVar
{
public:
ObSysVarObCreateTableStrictMode
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObSqlWorkAreaPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObSqlWorkAreaPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObSafeWeakReadSnapshot
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
117
);
}
};
class
ObSysVarObRoutePolicy
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_ROUTE_POLICY_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
118
);
}
};
class
ObSysVarObEnableTransmissionChecksum
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTransmissionChecksum
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarForeignKeyChecks
:
public
ObBoolSysVar
{
public:
ObSysVarForeignKeyChecks
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObStatementTraceId
:
public
ObVarcharSysVar
{
public:
ObSysVarObStatementTraceId
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableTruncateFlashback
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableTruncateFlashback
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObTcpInvitedNodes
:
public
ObVarcharSysVar
{
public:
ObSysVarObTcpInvitedNodes
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarSqlThrottleCurrentPriority
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottleCurrentPriority
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarSqlThrottlePriority
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottlePriority
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarSqlThrottleRt
:
public
ObNumericSysVar
{
public:
ObSysVarSqlThrottleRt
()
:
ObNumericSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarSqlThrottleCpu
:
public
ObNumericSysVar
{
public:
ObSysVarSqlThrottleCpu
()
:
ObNumericSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarSqlThrottleIo
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottleIo
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarSqlThrottleNetwork
:
public
ObNumericSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
129
);
}
};
class
ObSysVarSqlThrottleLogicalReads
:
public
ObIntSysVar
{
public:
ObSysVarSqlThrottleLogicalReads
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarAutoIncrementCacheSize
:
public
ObIntSysVar
{
public:
ObSysVarAutoIncrementCacheSize
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableJit
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_ENABLE_JIT_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
132
);
}
};
class
ObSysVarObTempTablespaceSizePercentage
:
public
ObIntSysVar
{
public:
ObSysVarObTempTablespaceSizePercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarOptimizerAdaptiveCursorSharing
:
public
ObBoolSysVar
{
public:
ObSysVarOptimizerAdaptiveCursorSharing
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObTimestampService
:
public
ObEnumSysVar
{
public:
const
static
char
*
OB_TIMESTAMP_SERVICE_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
135
);
}
};
class
ObSysVarPluginDir
:
public
ObVarcharSysVar
{
public:
ObSysVarPluginDir
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarUndoRetention
:
public
ObIntSysVar
{
public:
ObSysVarUndoRetention
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObUseParallelExecution
:
public
ObBoolSysVar
{
public:
ObSysVarObUseParallelExecution
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObSqlAuditPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObSqlAuditPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableSqlAudit
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableSqlAudit
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarOptimizerUseSqlPlanBaselines
:
public
ObBoolSysVar
{
public:
ObSysVarOptimizerUseSqlPlanBaselines
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarOptimizerCaptureSqlPlanBaselines
:
public
ObBoolSysVar
{
public:
ObSysVarOptimizerCaptureSqlPlanBaselines
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarParallelMaxServers
:
public
ObIntSysVar
{
public:
ObSysVarParallelMaxServers
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarParallelServersTarget
:
public
ObIntSysVar
{
public:
ObSysVarParallelServersTarget
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEarlyLockRelease
:
public
ObBoolSysVar
{
public:
ObSysVarObEarlyLockRelease
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObTrxIdleTimeout
:
public
ObIntSysVar
{
public:
ObSysVarObTrxIdleTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarBlockEncryptionMode
:
public
ObEnumSysVar
{
public:
const
static
char
*
BLOCK_ENCRYPTION_MODE_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
147
);
}
};
class
ObSysVarNlsDateFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsDateFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsTimestampFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsTimestampFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsTimestampTzFormat
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsTimestampTzFormat
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObReservedMetaMemoryPercentage
:
public
ObIntSysVar
{
public:
ObSysVarObReservedMetaMemoryPercentage
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObCheckSysVariable
:
public
ObBoolSysVar
{
public:
ObSysVarObCheckSysVariable
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsLanguage
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsLanguage
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsTerritory
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsTerritory
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsSort
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsSort
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsComp
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsComp
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsCharacterset
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsCharacterset
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsNcharCharacterset
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsNcharCharacterset
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsDateLanguage
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsDateLanguage
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsLengthSemantics
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsLengthSemantics
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsNcharConvExcp
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsNcharConvExcp
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsCalendar
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsCalendar
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsNumericCharacters
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsNumericCharacters
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNljBatchingEnabled
:
public
ObBoolSysVar
{
public:
ObSysVarNljBatchingEnabled
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarTracefileIdentifier
:
public
ObVarcharSysVar
{
public:
ObSysVarTracefileIdentifier
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarGroupbyNopushdownCutRatio
:
public
ObIntSysVar
{
public:
ObSysVarGroupbyNopushdownCutRatio
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarPxBroadcastFudgeFactor
:
public
ObIntSysVar
{
public:
ObSysVarPxBroadcastFudgeFactor
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarPrimaryZoneEntityCount
:
public
ObIntSysVar
{
public:
ObSysVarPrimaryZoneEntityCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarTransactionIsolation
:
public
ObSessionSpecialVarcharSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
169
);
}
};
class
ObSysVarObTrxLockTimeout
:
public
ObIntSysVar
{
public:
ObSysVarObTrxLockTimeout
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarValidatePasswordCheckUserName
:
public
ObEnumSysVar
{
public:
const
static
char
*
VALIDATE_PASSWORD_CHECK_USER_NAME_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
171
);
}
};
class
ObSysVarValidatePasswordLength
:
public
ObIntSysVar
{
public:
ObSysVarValidatePasswordLength
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarValidatePasswordMixedCaseCount
:
public
ObIntSysVar
{
public:
ObSysVarValidatePasswordMixedCaseCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarValidatePasswordNumberCount
:
public
ObIntSysVar
{
public:
ObSysVarValidatePasswordNumberCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarValidatePasswordPolicy
:
public
ObEnumSysVar
{
public:
const
static
char
*
VALIDATE_PASSWORD_POLICY_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
175
);
}
};
class
ObSysVarValidatePasswordSpecialCharCount
:
public
ObIntSysVar
{
public:
ObSysVarValidatePasswordSpecialCharCount
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarDefaultPasswordLifetime
:
public
ObIntSysVar
{
public:
ObSysVarDefaultPasswordLifetime
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObTraceInfo
:
public
ObVarcharSysVar
{
public:
ObSysVarObTraceInfo
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObEnableBatchedMultiStatement
:
public
ObBoolSysVar
{
public:
ObSysVarObEnableBatchedMultiStatement
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarPxPartitionScanThreshold
:
public
ObIntSysVar
{
public:
ObSysVarPxPartitionScanThreshold
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObPxBcastOptimization
:
public
ObEnumSysVar
{
public:
const
static
char
*
_OB_PX_BCAST_OPTIMIZATION_NAMES
[];
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
181
);
}
};
class
ObSysVarObPxSlaveMappingThreshold
:
public
ObIntSysVar
{
public:
ObSysVarObPxSlaveMappingThreshold
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarEnableParallelDml
:
public
ObBoolSysVar
{
public:
ObSysVarEnableParallelDml
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarPxMinGranulesPerSlave
:
public
ObIntSysVar
{
public:
ObSysVarPxMinGranulesPerSlave
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarSecureFilePriv
:
public
ObVarcharSysVar
{
public:
ObSysVarSecureFilePriv
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarPlsqlWarnings
:
public
ObVarcharSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
186
);
}
};
class
ObSysVarEnableParallelQuery
:
public
ObBoolSysVar
{
public:
ObSysVarEnableParallelQuery
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarForceParallelQueryDop
:
public
ObIntSysVar
{
public:
ObSysVarForceParallelQueryDop
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarForceParallelDmlDop
:
public
ObIntSysVar
{
public:
ObSysVarForceParallelDmlDop
()
:
ObIntSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObPlBlockTimeout
:
public
ObIntSysVar
{
public:
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
const
common
::
ObObj
&
get_global_default_value
()
const
{
return
ObSysVariables
::
get_default_value
(
190
);
}
};
class
ObSysVarTransactionReadOnly
:
public
ObSessionSpecialBoolSysVar
{
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
)
{}
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
);
}
};
class
ObSysVarResourceManagerPlan
:
public
ObVarcharSysVar
{
public:
ObSysVarResourceManagerPlan
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarPerformanceSchema
:
public
ObBoolSysVar
{
public:
ObSysVarPerformanceSchema
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsCurrency
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsCurrency
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsIsoCurrency
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsIsoCurrency
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarNlsDualCurrency
:
public
ObVarcharSysVar
{
public:
ObSysVarNlsDualCurrency
()
:
ObVarcharSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarObProxySessionTemporaryTableUsed
:
public
ObBoolSysVar
{
public:
ObSysVarObProxySessionTemporaryTableUsed
()
:
ObBoolSysVar
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
)
{}
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
);
}
};
class
ObSysVarFactory
{
class
ObSysVarFactory
{
public:
public:
ObSysVarFactory
();
ObSysVarFactory
();
virtual
~
ObSysVarFactory
();
virtual
~
ObSysVarFactory
();
void
destroy
();
void
destroy
();
int
create_sys_var
(
ObSysVarClassType
sys_var_id
,
ObBasicSysVar
*&
sys_var
);
int
create_sys_var
(
ObSysVarClassType
sys_var_id
,
ObBasicSysVar
*&
sys_var
);
int
free_sys_var
(
ObBasicSysVar
*
sys_var
,
int64_t
sys_var_idx
);
int
create_all_sys_vars
();
static
int
calc_sys_var_store_idx
(
ObSysVarClassType
sys_var_id
,
int64_t
&
store_idx
);
int
free_sys_var
(
ObBasicSysVar
*
sys_var
,
int64_t
sys_var_idx
);
static
int
calc_sys_var_store_idx_by_name
(
const
common
::
ObString
&
sys_var_name
,
int64_t
&
store_idx
);
static
int
calc_sys_var_store_idx
(
ObSysVarClassType
sys_var_id
,
int64_t
&
store_idx
);
static
int
calc_sys_var_store_idx_by_name
(
const
common
::
ObString
&
sys_var_name
,
int64_t
&
store_idx
);
static
bool
is_valid_sys_var_store_idx
(
int64_t
store_idx
);
static
bool
is_valid_sys_var_store_idx
(
int64_t
store_idx
);
static
ObSysVarClassType
find_sys_var_id_by_name
(
static
ObSysVarClassType
find_sys_var_id_by_name
(
const
common
::
ObString
&
sys_var_name
,
bool
is_from_sys_table
=
false
);
//二分查找
const
common
::
ObString
&
sys_var_name
,
bool
is_from_sys_table
=
false
);
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
=
8
1
;
const
static
int64_t
MYSQL_SYS_VARS_COUNT
=
8
4
;
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
;
const
static
int16_t
OB_SPECIFIC_SYS_VAR_ID_OFFSET
=
10000
;
const
static
int16_t
OB_SPECIFIC_SYS_VAR_ID_OFFSET
=
10000
;
// increase OB_MAX_SYS_VAR_ID if you need a sys_var_id greater than it.
// 表示当前OB能够使用的sys var id的最大值,正常情况下,不需要申请大于OB_MAX_SYS_VAR_ID的sys var id,
// 如果需要申请大于OB_MAX_SYS_VAR_ID的sys var id,需要先调整ob_max_sys_var_id的值
const
static
int32_t
OB_MAX_SYS_VAR_ID
=
20000
;
const
static
int32_t
OB_MAX_SYS_VAR_ID
=
20000
;
private:
private:
static
bool
sys_var_name_case_cmp
(
const
char
*
name1
,
const
common
::
ObString
&
name2
);
static
bool
sys_var_name_case_cmp
(
const
char
*
name1
,
const
common
::
ObString
&
name2
);
const
static
char
*
SYS_VAR_NAMES_SORTED_BY_NAME
[
ALL_SYS_VARS_COUNT
];
const
static
char
*
SYS_VAR_NAMES_SORTED_BY_NAME
[
ALL_SYS_VARS_COUNT
];
const
static
ObSysVarClassType
SYS_VAR_IDS_SORTED_BY_NAME
[
ALL_SYS_VARS_COUNT
];
const
static
ObSysVarClassType
SYS_VAR_IDS_SORTED_BY_NAME
[
ALL_SYS_VARS_COUNT
];
const
static
char
*
SYS_VAR_NAMES_SORTED_BY_ID
[
ALL_SYS_VARS_COUNT
];
const
static
char
*
SYS_VAR_NAMES_SORTED_BY_ID
[
ALL_SYS_VARS_COUNT
];
common
::
ObArenaAllocator
allocator_
;
common
::
ObArenaAllocator
allocator_
;
ObBasicSysVar
*
store_
[
ALL_SYS_VARS_COUNT
];
ObBasicSysVar
*
store_
[
ALL_SYS_VARS_COUNT
];
ObBasicSysVar
*
store_buf_
[
ALL_SYS_VARS_COUNT
];
ObBasicSysVar
*
store_buf_
[
ALL_SYS_VARS_COUNT
];
bool
all_sys_vars_created_
;
};
};
}
// namespace share
}
}
// namespace oceanbase
}
#endif
//
OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_
#endif
//
OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_FACTORY_
src/share/system_variable/ob_system_variable_init.cpp
浏览文件 @
fa8b8384
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
src/share/system_variable/ob_system_variable_init.h
浏览文件 @
fa8b8384
...
@@ -15,9 +15,13 @@
...
@@ -15,9 +15,13 @@
#include "share/system_variable/ob_sys_var_class_type.h"
#include "share/system_variable/ob_sys_var_class_type.h"
#include <stdint.h>
#include <stdint.h>
#include "common/object/ob_object.h"
#include "common/object/ob_object.h"
namespace
oceanbase
{
namespace
oceanbase
namespace
share
{
{
struct
ObSysVarFlag
{
namespace
share
{
// ObSysVarFlag的值不可随意增删改, 有任何增删改要同时同步到sql/session/gen_ob_sys_variables.py的flag_value_dict变量中
struct
ObSysVarFlag
{
const
static
int64_t
NONE
=
0LL
;
const
static
int64_t
NONE
=
0LL
;
const
static
int64_t
GLOBAL_SCOPE
=
1LL
;
const
static
int64_t
GLOBAL_SCOPE
=
1LL
;
const
static
int64_t
SESSION_SCOPE
=
(
1LL
<<
1
);
const
static
int64_t
SESSION_SCOPE
=
(
1LL
<<
1
);
...
@@ -33,7 +37,7 @@ struct ObSysVarFlag {
...
@@ -33,7 +37,7 @@ struct ObSysVarFlag {
const
static
int64_t
WITH_UPGRADE
=
(
1LL
<<
11
);
const
static
int64_t
WITH_UPGRADE
=
(
1LL
<<
11
);
const
static
int64_t
MYSQL_ONLY
=
(
1LL
<<
12
);
const
static
int64_t
MYSQL_ONLY
=
(
1LL
<<
12
);
};
};
struct
ObSysVarFromJson
{
struct
ObSysVarFromJson
{
ObSysVarClassType
id_
;
ObSysVarClassType
id_
;
common
::
ObString
name_
;
common
::
ObString
name_
;
common
::
ObObjType
data_type_
;
common
::
ObObjType
data_type_
;
...
@@ -52,28 +56,11 @@ struct ObSysVarFromJson {
...
@@ -52,28 +56,11 @@ struct ObSysVarFromJson {
common
::
ObString
get_meta_type_func_
;
common
::
ObString
get_meta_type_func_
;
common
::
ObString
session_special_update_func_
;
common
::
ObString
session_special_update_func_
;
ObSysVarFromJson
()
ObSysVarFromJson
()
:
id_
(
SYS_VAR_INVALID
),
name_
(
""
),
data_type_
(
common
::
ObNullType
),
value_
(
""
),
min_val_
(
""
),
max_val_
(
""
),
enum_names_
(
""
),
info_
(
""
),
flags_
(
ObSysVarFlag
::
NONE
),
alias_
(
""
),
base_class_
(
""
),
on_check_and_convert_func_
(),
on_update_func_
(),
to_select_obj_func_
(),
to_show_str_func_
(),
get_meta_type_func_
(),
session_special_update_func_
()
{}
:
id_
(
SYS_VAR_INVALID
),
name_
(
""
),
data_type_
(
common
::
ObNullType
),
value_
(
""
),
min_val_
(
""
),
max_val_
(
""
),
enum_names_
(
""
),
info_
(
""
),
flags_
(
ObSysVarFlag
::
NONE
),
alias_
(
""
),
base_class_
(
""
),
on_check_and_convert_func_
(),
on_update_func_
(),
to_select_obj_func_
(),
to_show_str_func_
(),
get_meta_type_func_
(),
session_special_update_func_
()
{}
};
};
class
ObSysVariables
{
class
ObSysVariables
{
public:
public:
static
int64_t
get_all_sys_var_count
();
static
int64_t
get_all_sys_var_count
();
static
ObSysVarClassType
get_sys_var_id
(
int64_t
i
);
static
ObSysVarClassType
get_sys_var_id
(
int64_t
i
);
...
@@ -88,20 +75,21 @@ public:
...
@@ -88,20 +75,21 @@ public:
static
bool
is_oracle_only
(
int64_t
i
);
static
bool
is_oracle_only
(
int64_t
i
);
static
bool
is_mysql_only
(
int64_t
i
);
static
bool
is_mysql_only
(
int64_t
i
);
static
common
::
ObString
get_alias
(
int64_t
i
);
static
common
::
ObString
get_alias
(
int64_t
i
);
static
const
common
::
ObObj
&
get_default_value
(
int64_t
i
);
static
const
common
::
ObObj
&
get_default_value
(
int64_t
i
);
static
int64_t
get_amount
();
static
int64_t
get_amount
();
static
int
set_value
(
const
char
*
name
,
const
char
*
new_value
);
static
int
set_value
(
const
char
*
name
,
const
char
*
new_value
);
static
int
set_value
(
const
common
::
ObString
&
name
,
const
common
::
ObString
&
new_value
);
static
int
set_value
(
const
common
::
ObString
&
name
,
const
common
::
ObString
&
new_value
);
static
int
init_default_values
();
static
int
init_default_values
();
};
};
class
ObSysVarsToIdxMap
{
class
ObSysVarsToIdxMap
{
public:
public:
static
int64_t
get_store_idx
(
int64_t
var_id
);
static
int64_t
get_store_idx
(
int64_t
var_id
);
static
bool
has_invalid_sys_var_id
();
static
bool
has_invalid_sys_var_id
();
};
};
}
// end namespace share
}
// end namespace share
}
// end namespace oceanbase
}
// end namespace oceanbase
#endif
/* OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_INIT_ */
#endif
/* OCEANBASE_SHARE_SYSTEM_VARIABLE_OB_SYSTEM_VARIABLE_INIT_ */
src/share/system_variable/ob_system_variable_init.json
浏览文件 @
fa8b8384
...
@@ -1099,6 +1099,42 @@
...
@@ -1099,6 +1099,42 @@
"background_cn"
:
""
,
"background_cn"
:
""
,
"ref_url"
:
""
"ref_url"
:
""
},
},
"session_track_schema"
:
{
"id"
:
81
,
"name"
:
"session_track_schema"
,
"value"
:
"1"
,
"data_type"
:
"bool"
,
"info"
:
"specifies whether return schema change info in ok packet"
,
"flags"
:
"GLOBAL | SESSION | MYSQL_ONLY"
,
"publish_version"
:
"312"
,
"info_cn"
:
"控制返回的ok包中是否包含schema变更的信息"
,
"background_cn"
:
""
,
"ref_url"
:
"ob/product_functionality_review/pw3wd2"
},
"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"
:
"varchar"
,
"info"
:
"specifies whether return system variables change info in ok packet"
,
"flags"
:
"GLOBAL | SESSION | MYSQL_ONLY"
,
"publish_version"
:
"312"
,
"info_cn"
:
"控制返回的ok包中是否包含系统变量变更的信息"
,
"background_cn"
:
""
,
"ref_url"
:
"ob/product_functionality_review/pw3wd2"
},
"session_track_state_change"
:
{
"id"
:
83
,
"name"
:
"session_track_state_change"
,
"value"
:
"0"
,
"data_type"
:
"bool"
,
"info"
:
"specifies whether return session state change info in ok packet"
,
"flags"
:
"GLOBAL | SESSION | MYSQL_ONLY"
,
"publish_version"
:
"312"
,
"info_cn"
:
"控制返回的ok包中是否包含session状态变更的信息"
,
"background_cn"
:
""
,
"ref_url"
:
"ob/product_functionality_review/pw3wd2"
},
"ob_default_replica_num"
:
{
"ob_default_replica_num"
:
{
"id"
:
10000
,
"id"
:
10000
,
"name"
:
"ob_default_replica_num"
,
"name"
:
"ob_default_replica_num"
,
...
@@ -2441,7 +2477,7 @@
...
@@ -2441,7 +2477,7 @@
"publish_version"
:
"226"
,
"publish_version"
:
"226"
,
"info_cn"
:
"限制导入导出功能访问的路径"
,
"info_cn"
:
"限制导入导出功能访问的路径"
,
"background_cn"
:
"导入导出功能未限制文件访问可能存在漏洞"
,
"background_cn"
:
"导入导出功能未限制文件访问可能存在漏洞"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/sxwpug"
"ref_url"
:
"ob/product_functionality_review/sxwpug"
},
},
"plsql_warnings"
:
{
"plsql_warnings"
:
{
"id"
:
10103
,
"id"
:
10103
,
...
@@ -2454,7 +2490,7 @@
...
@@ -2454,7 +2490,7 @@
"publish_version"
:
"3.1.0"
,
"publish_version"
:
"3.1.0"
,
"info_cn"
:
"控制pl/sql编译器的报错行为, 可以指定某类型或某个warning码的状态为:enable, disable, error"
,
"info_cn"
:
"控制pl/sql编译器的报错行为, 可以指定某类型或某个warning码的状态为:enable, disable, error"
,
"background_cn"
:
"pl/sql编译器的警告信息分成了几个分类, 这个系统参数可以控制这些警告信息的行为"
,
"background_cn"
:
"pl/sql编译器的警告信息分成了几个分类, 这个系统参数可以控制这些警告信息的行为"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/xxibln"
"ref_url"
:
"ob/product_functionality_review/xxibln"
},
},
"_enable_parallel_query"
:
{
"_enable_parallel_query"
:
{
"id"
:
10104
,
"id"
:
10104
,
...
@@ -2466,7 +2502,7 @@
...
@@ -2466,7 +2502,7 @@
"publish_version"
:
"227"
,
"publish_version"
:
"227"
,
"info_cn"
:
"在session上打开parallel query配置项, 查询默认情况下才可以被并行执行(parallel>=2)"
,
"info_cn"
:
"在session上打开parallel query配置项, 查询默认情况下才可以被并行执行(parallel>=2)"
,
"background_cn"
:
"px上控制parallel的方式有很多, session上有对应的parallel的控制开关, 这个开关用于控制session级别的默认并行度是否可以大于等于2"
,
"background_cn"
:
"px上控制parallel的方式有很多, session上有对应的parallel的控制开关, 这个开关用于控制session级别的默认并行度是否可以大于等于2"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/tblezn"
"ref_url"
:
"ob/product_functionality_review/tblezn"
},
},
"_force_parallel_query_dop"
:
{
"_force_parallel_query_dop"
:
{
"id"
:
10105
,
"id"
:
10105
,
...
@@ -2478,7 +2514,7 @@
...
@@ -2478,7 +2514,7 @@
"publish_version"
:
"310"
,
"publish_version"
:
"310"
,
"info_cn"
:
"在session上打开parallel query配置项, 并指定默认并行度"
,
"info_cn"
:
"在session上打开parallel query配置项, 并指定默认并行度"
,
"background_cn"
:
"px上控制parallel的方式有很多, session上有对应的parallel的控制开关, 这个变量用于设置session级别的 query 默认并行度大小"
,
"background_cn"
:
"px上控制parallel的方式有很多, session上有对应的parallel的控制开关, 这个变量用于设置session级别的 query 默认并行度大小"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/bpv992"
"ref_url"
:
"ob/product_functionality_review/bpv992"
},
},
"_force_parallel_dml_dop"
:
{
"_force_parallel_dml_dop"
:
{
"id"
:
10106
,
"id"
:
10106
,
...
@@ -2490,7 +2526,7 @@
...
@@ -2490,7 +2526,7 @@
"publish_version"
:
"310"
,
"publish_version"
:
"310"
,
"info_cn"
:
"在session上打开parallel dml配置项, 并指定默认并行度.当未通过 hint 指定 dml 并行度时, 会使用本变量值作为默认并行度"
,
"info_cn"
:
"在session上打开parallel dml配置项, 并指定默认并行度.当未通过 hint 指定 dml 并行度时, 会使用本变量值作为默认并行度"
,
"background_cn"
:
"px上控制parallel的方式有很多, session上有对应的parallel的控制开关, 这个变量用于设置session级别的 dml 默认并行度大小"
,
"background_cn"
:
"px上控制parallel的方式有很多, session上有对应的parallel的控制开关, 这个变量用于设置session级别的 dml 默认并行度大小"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/bpv992"
"ref_url"
:
"ob/product_functionality_review/bpv992"
},
},
"ob_pl_block_timeout"
:
{
"ob_pl_block_timeout"
:
{
"id"
:
10107
,
"id"
:
10107
,
...
@@ -2505,7 +2541,7 @@
...
@@ -2505,7 +2541,7 @@
"publish_version"
:
"227"
,
"publish_version"
:
"227"
,
"info_cn"
:
""
,
"info_cn"
:
""
,
"background_cn"
:
""
,
"background_cn"
:
""
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/gry0a1"
"ref_url"
:
"ob/product_functionality_review/gry0a1"
},
},
"transaction_read_only"
:
{
"transaction_read_only"
:
{
"id"
:
10108
,
"id"
:
10108
,
...
@@ -2521,7 +2557,7 @@
...
@@ -2521,7 +2557,7 @@
"publish_version"
:
"320"
,
"publish_version"
:
"320"
,
"info_cn"
:
"控制是否只允许开启只读事务"
,
"info_cn"
:
"控制是否只允许开启只读事务"
,
"background_cn"
:
"用户可以通过这两个变量访问或者设置事务的访问模式, 当transaction_read_only设置为true时, 不允许执行dml语句"
,
"background_cn"
:
"用户可以通过这两个变量访问或者设置事务的访问模式, 当transaction_read_only设置为true时, 不允许执行dml语句"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/qcneoc"
"ref_url"
:
"ob/product_functionality_review/qcneoc"
},
},
"resource_manager_plan"
:
{
"resource_manager_plan"
:
{
"id"
:
10109
,
"id"
:
10109
,
...
@@ -2533,7 +2569,7 @@
...
@@ -2533,7 +2569,7 @@
"publish_version"
:
"320"
,
"publish_version"
:
"320"
,
"info_cn"
:
"指定租户的资源隔离计划"
,
"info_cn"
:
"指定租户的资源隔离计划"
,
"background_cn"
:
"租户内的普通线程和并行执行线程会相互抢占CPU资源, 通过给租户指定资源隔离计划, 可以控制资源抢占策略, 隔离资源使用量"
,
"background_cn"
:
"租户内的普通线程和并行执行线程会相互抢占CPU资源, 通过给租户指定资源隔离计划, 可以控制资源抢占策略, 隔离资源使用量"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/do11tp"
"ref_url"
:
"ob/product_functionality_review/do11tp"
},
},
"performance_schema"
:
{
"performance_schema"
:
{
"id"
:
10110
,
"id"
:
10110
,
...
@@ -2545,7 +2581,7 @@
...
@@ -2545,7 +2581,7 @@
"publish_version"
:
"227"
,
"publish_version"
:
"227"
,
"info_cn"
:
"向客户端声明是否支持 performance 信息查询"
,
"info_cn"
:
"向客户端声明是否支持 performance 信息查询"
,
"background_cn"
:
"纯兼容性变量.不支持 performance_schema 系统变量, 导致 8.0 JDBC 驱动在连接认证后初始化系统变量阶段执行 select @performance_schema 抛出异常"
,
"background_cn"
:
"纯兼容性变量.不支持 performance_schema 系统变量, 导致 8.0 JDBC 驱动在连接认证后初始化系统变量阶段执行 select @performance_schema 抛出异常"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/mg0sbv"
"ref_url"
:
"ob/product_functionality_review/mg0sbv"
},
},
"nls_currency"
:
{
"nls_currency"
:
{
"id"
:
10111
,
"id"
:
10111
,
...
@@ -2557,7 +2593,7 @@
...
@@ -2557,7 +2593,7 @@
"publish_version"
:
"320"
,
"publish_version"
:
"320"
,
"info_cn"
:
"L数字格式元素的本地货币符号"
,
"info_cn"
:
"L数字格式元素的本地货币符号"
,
"background_cn"
:
"兼容 oracle number format model L 数字格式元素"
,
"background_cn"
:
"兼容 oracle number format model L 数字格式元素"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/efqk1r"
"ref_url"
:
"ob/product_functionality_review/efqk1r"
},
},
"nls_iso_currency"
:
{
"nls_iso_currency"
:
{
"id"
:
10112
,
"id"
:
10112
,
...
@@ -2569,7 +2605,7 @@
...
@@ -2569,7 +2605,7 @@
"publish_version"
:
"320"
,
"publish_version"
:
"320"
,
"info_cn"
:
"C数字格式元素的国际货币符号"
,
"info_cn"
:
"C数字格式元素的国际货币符号"
,
"background_cn"
:
"兼容 oracle number format model C 数字格式元素"
,
"background_cn"
:
"兼容 oracle number format model C 数字格式元素"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/efqk1r"
"ref_url"
:
"ob/product_functionality_review/efqk1r"
},
},
"nls_dual_currency"
:
{
"nls_dual_currency"
:
{
"id"
:
10113
,
"id"
:
10113
,
...
@@ -2581,7 +2617,7 @@
...
@@ -2581,7 +2617,7 @@
"publish_version"
:
"320"
,
"publish_version"
:
"320"
,
"info_cn"
:
"U数字格式元素的双货币符号"
,
"info_cn"
:
"U数字格式元素的双货币符号"
,
"background_cn"
:
"兼容 oracle number format model U 数字格式元素"
,
"background_cn"
:
"兼容 oracle number format model U 数字格式元素"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/efqk1r"
"ref_url"
:
"ob/product_functionality_review/efqk1r"
},
},
"_ob_proxy_session_temporary_table_used"
:
{
"_ob_proxy_session_temporary_table_used"
:
{
"id"
:
10116
,
"id"
:
10116
,
...
@@ -2593,6 +2629,6 @@
...
@@ -2593,6 +2629,6 @@
"publish_version"
:
"310"
,
"publish_version"
:
"310"
,
"info_cn"
:
"标记当前Session是否使用过Session级别临时表,用于告知proxy并修改路由决策"
,
"info_cn"
:
"标记当前Session是否使用过Session级别临时表,用于告知proxy并修改路由决策"
,
"background_cn"
:
"为了解决Session临时表断链接时可能导致的问题,当Session临时表第一次使用后,后续请求Proxy只会路由到同一个Session"
,
"background_cn"
:
"为了解决Session临时表断链接时可能导致的问题,当Session临时表第一次使用后,后续请求Proxy只会路由到同一个Session"
,
"ref_url"
:
"
https://yuque.antfin-inc.com/
ob/product_functionality_review/hinq1e"
"ref_url"
:
"ob/product_functionality_review/hinq1e"
}
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录