Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
oceanbase
obproxy
提交
dee2edf6
O
obproxy
项目概览
oceanbase
/
obproxy
1 年多 前同步成功
通知
11
Star
100
Fork
70
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
obproxy
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
dee2edf6
编写于
4月 13, 2021
作者:
W
wgs13579
提交者:
guangshu.wgs
6月 07, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
support temporary_table route variable
上级
90a9d6d7
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
3 addition
and
1 deletion
+3
-1
src/obproxy/proxy/mysqllib/ob_session_field_mgr.h
src/obproxy/proxy/mysqllib/ob_session_field_mgr.h
+2
-1
src/sql/session/ob_system_variable_alias.h
src/sql/session/ob_system_variable_alias.h
+1
-0
未找到文件。
src/obproxy/proxy/mysqllib/ob_session_field_mgr.h
浏览文件 @
dee2edf6
...
@@ -504,7 +504,8 @@ public:
...
@@ -504,7 +504,8 @@ public:
static
bool
is_hot_modified_variable
(
const
common
::
ObString
&
var_name
);
static
bool
is_hot_modified_variable
(
const
common
::
ObString
&
var_name
);
static
bool
is_last_insert_id_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_LAST_INSERT_ID
;
}
static
bool
is_last_insert_id_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_LAST_INSERT_ID
;
}
static
bool
is_user_privilege_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_USER_PRIVILEGE
;
}
static
bool
is_user_privilege_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_USER_PRIVILEGE
;
}
static
bool
is_set_trx_executed_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_SET_TRX_EXECUTED
;
}
static
bool
is_set_trx_executed_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_SET_TRX_EXECUTED
||
var_name
==
sql
::
OB_SV_PROXY_SESSION_TEMPORARY_TABLE_USED
;
}
static
bool
is_partition_hit_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_PARTITION_HIT
;
}
static
bool
is_partition_hit_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_PARTITION_HIT
;
}
static
bool
is_global_version_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_GLOBAL_VARIABLES_VERSION
;
}
static
bool
is_global_version_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_PROXY_GLOBAL_VARIABLES_VERSION
;
}
static
bool
is_capability_flag_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_CAPABILITY_FLAG
;
}
static
bool
is_capability_flag_variable
(
const
common
::
ObString
&
var_name
)
{
return
var_name
==
sql
::
OB_SV_CAPABILITY_FLAG
;
}
...
...
src/sql/session/ob_system_variable_alias.h
浏览文件 @
dee2edf6
...
@@ -74,6 +74,7 @@ namespace sql
...
@@ -74,6 +74,7 @@ namespace sql
static
const
char
*
const
OB_SV_ENABLE_PLAN_CACHE
=
"ob_enable_plan_cache"
;
static
const
char
*
const
OB_SV_ENABLE_PLAN_CACHE
=
"ob_enable_plan_cache"
;
static
const
char
*
const
OB_SV_ENABLE_INDEX_DIRECT_SELECT
=
"ob_enable_index_direct_select"
;
static
const
char
*
const
OB_SV_ENABLE_INDEX_DIRECT_SELECT
=
"ob_enable_index_direct_select"
;
static
const
char
*
const
OB_SV_PROXY_SET_TRX_EXECUTED
=
"ob_proxy_set_trx_executed"
;
static
const
char
*
const
OB_SV_PROXY_SET_TRX_EXECUTED
=
"ob_proxy_set_trx_executed"
;
static
const
char
*
const
OB_SV_PROXY_SESSION_TEMPORARY_TABLE_USED
=
"_ob_proxy_session_temporary_table_used"
;
static
const
char
*
const
OB_SV_ENABLE_AGGREGATION_PUSHDOWN
=
"ob_enable_aggregation_pushdown"
;
static
const
char
*
const
OB_SV_ENABLE_AGGREGATION_PUSHDOWN
=
"ob_enable_aggregation_pushdown"
;
static
const
char
*
const
OB_SV_LAST_SCHEMA_VERSION
=
"ob_last_schema_version"
;
static
const
char
*
const
OB_SV_LAST_SCHEMA_VERSION
=
"ob_last_schema_version"
;
static
const
char
*
const
OB_SV_GLOBAL_DEBUG_SYNC
=
"ob_global_debug_sync"
;
static
const
char
*
const
OB_SV_GLOBAL_DEBUG_SYNC
=
"ob_global_debug_sync"
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录