Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
巨杉数据库SequoiaDB
SequoiaDB
提交
2894ed7e
SequoiaDB
项目概览
巨杉数据库SequoiaDB
/
SequoiaDB
通知
14
Star
8
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
SequoiaDB
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
2894ed7e
编写于
10月 17, 2019
作者:
T
Tao Wang
提交者:
GitHub
10月 17, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #72 from SequoiaDBTeam/master
Revision: 35050
上级
baff3686
1cf07cef
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
4 deletion
+10
-4
SequoiaDB/engine/include/ossVer_Autogen.h
SequoiaDB/engine/include/ossVer_Autogen.h
+1
-1
driver/mysql/ha_sdb.cc
driver/mysql/ha_sdb.cc
+8
-2
driver/mysql/sdb_item.cc
driver/mysql/sdb_item.cc
+1
-1
未找到文件。
SequoiaDB/engine/include/ossVer_Autogen.h
浏览文件 @
2894ed7e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#define SDB_ENGINE_INCLUDE_AUTOGEN_RELATIVE_PATH "../../SequoiaDB/engine/include/"
#define SDB_ENGINE_INCLUDE_AUTOGEN_RELATIVE_PATH "../../SequoiaDB/engine/include/"
#define SDB_ENGINE_OSSVER_FILE_RELATIVE_PATH SDB_ENGINE_INCLUDE_AUTOGEN_RELATIVE_PATH SDB_ENGINE_OSSVER_FILE
#define SDB_ENGINE_OSSVER_FILE_RELATIVE_PATH SDB_ENGINE_INCLUDE_AUTOGEN_RELATIVE_PATH SDB_ENGINE_OSSVER_FILE
#define SDB_ENGINE_RELEASE_CURRENT 350
48
#define SDB_ENGINE_RELEASE_CURRENT 350
50
#define SDB_ENGINE_BUILD_FORMAT "%04d-%02d-%02d-%02d.%02d.%02d"
#define SDB_ENGINE_BUILD_FORMAT "%04d-%02d-%02d-%02d.%02d.%02d"
#define SDB_ENGINE_BUILD_CURRENT "0000-00-00-00.00.00"
#define SDB_ENGINE_BUILD_CURRENT "0000-00-00-00.00.00"
...
...
driver/mysql/ha_sdb.cc
浏览文件 @
2894ed7e
...
@@ -1307,6 +1307,8 @@ bool ha_sdb::inplace_alter_table( TABLE *altered_table,
...
@@ -1307,6 +1307,8 @@ bool ha_sdb::inplace_alter_table( TABLE *altered_table,
{
{
THD
*
thd
=
current_thd
;
THD
*
thd
=
current_thd
;
bool
rs
=
false
;
bool
rs
=
false
;
int
rc
=
0
;
Alter_inplace_info
::
HA_ALTER_FLAGS
inplace_online_addidx
Alter_inplace_info
::
HA_ALTER_FLAGS
inplace_online_addidx
=
Alter_inplace_info
::
ADD_INDEX
=
Alter_inplace_info
::
ADD_INDEX
|
Alter_inplace_info
::
ADD_UNIQUE_INDEX
|
Alter_inplace_info
::
ADD_UNIQUE_INDEX
...
@@ -1319,16 +1321,20 @@ bool ha_sdb::inplace_alter_table( TABLE *altered_table,
...
@@ -1319,16 +1321,20 @@ bool ha_sdb::inplace_alter_table( TABLE *altered_table,
if
(
ha_alter_info
->
handler_flags
&
inplace_online_addidx
)
if
(
ha_alter_info
->
handler_flags
&
inplace_online_addidx
)
{
{
if
(
0
!=
create_index
(
ha_alter_info
)
)
rc
=
create_index
(
ha_alter_info
)
;
if
(
0
!=
rc
)
{
{
my_error
(
ER_GET_ERRNO
,
MYF
(
0
),
rc
);
rs
=
true
;
rs
=
true
;
goto
error
;
goto
error
;
}
}
}
}
if
(
ha_alter_info
->
handler_flags
&
inplace_online_dropidx
)
if
(
ha_alter_info
->
handler_flags
&
inplace_online_dropidx
)
{
{
if
(
0
!=
drop_index
(
ha_alter_info
)
)
rc
=
drop_index
(
ha_alter_info
)
;
if
(
0
!=
rc
)
{
{
my_error
(
ER_GET_ERRNO
,
MYF
(
0
),
rc
);
rs
=
true
;
rs
=
true
;
goto
error
;
goto
error
;
}
}
...
...
driver/mysql/sdb_item.cc
浏览文件 @
2894ed7e
...
@@ -317,7 +317,7 @@ int sdb_func_item::get_item_val( const char *field_name,
...
@@ -317,7 +317,7 @@ int sdb_func_item::get_item_val( const char *field_name,
bson
::
BSONArrayBuilder
*
arr_builder
)
bson
::
BSONArrayBuilder
*
arr_builder
)
{
{
int
rc
=
SDB_ERR_OK
;
int
rc
=
SDB_ERR_OK
;
char
buff
[
MAX_FIELD_WIDTH
];
char
buff
[
MAX_FIELD_WIDTH
]
=
{
0
}
;
if
(
NULL
==
item_val
)
if
(
NULL
==
item_val
)
{
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录