Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
d3720a80
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
d3720a80
编写于
4月 23, 2020
作者:
S
slguan
提交者:
GitHub
4月 23, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1694 from taosdata/develop_lihui
Develop lihui
上级
048e78ab
5f58f971
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
8 deletion
+8
-8
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+1
-1
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
src/kit/CMakeLists.txt
src/kit/CMakeLists.txt
+2
-2
src/kit/taosdump/CMakeLists.txt
src/kit/taosdump/CMakeLists.txt
+1
-0
src/kit/taosdump/taosdump.c
src/kit/taosdump/taosdump.c
+3
-4
未找到文件。
packaging/tools/makepkg.sh
浏览文件 @
d3720a80
...
@@ -43,7 +43,7 @@ lib_files="${build_dir}/lib/libtaos.so.${version}"
...
@@ -43,7 +43,7 @@ lib_files="${build_dir}/lib/libtaos.so.${version}"
header_files
=
"
${
code_dir
}
/inc/taos.h
${
code_dir
}
/inc/taoserror.h"
header_files
=
"
${
code_dir
}
/inc/taos.h
${
code_dir
}
/inc/taoserror.h"
cfg_dir
=
"
${
top_dir
}
/packaging/cfg"
cfg_dir
=
"
${
top_dir
}
/packaging/cfg"
install_files
=
"
${
script_dir
}
/install.sh"
install_files
=
"
${
script_dir
}
/install.sh"
nginx_dir
=
"
${
code_dir
}
/../../enterprise/src/
module
s/web"
nginx_dir
=
"
${
code_dir
}
/../../enterprise/src/
plugin
s/web"
# Init file
# Init file
#init_dir=${script_dir}/deb
#init_dir=${script_dir}/deb
...
...
src/CMakeLists.txt
浏览文件 @
d3720a80
...
@@ -15,4 +15,4 @@ ADD_SUBDIRECTORY(vnode)
...
@@ -15,4 +15,4 @@ ADD_SUBDIRECTORY(vnode)
ADD_SUBDIRECTORY
(
tsdb
)
ADD_SUBDIRECTORY
(
tsdb
)
ADD_SUBDIRECTORY
(
wal
)
ADD_SUBDIRECTORY
(
wal
)
ADD_SUBDIRECTORY
(
dnode
)
ADD_SUBDIRECTORY
(
dnode
)
#
ADD_SUBDIRECTORY(connector/jdbc)
ADD_SUBDIRECTORY
(
connector/jdbc
)
src/kit/CMakeLists.txt
浏览文件 @
d3720a80
...
@@ -2,5 +2,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
...
@@ -2,5 +2,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT
(
TDengine
)
PROJECT
(
TDengine
)
ADD_SUBDIRECTORY
(
shell
)
ADD_SUBDIRECTORY
(
shell
)
#
ADD_SUBDIRECTORY(taosdemo)
ADD_SUBDIRECTORY
(
taosdemo
)
#
ADD_SUBDIRECTORY(taosdump)
ADD_SUBDIRECTORY
(
taosdump
)
src/kit/taosdump/CMakeLists.txt
浏览文件 @
d3720a80
...
@@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
...
@@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT
(
TDengine
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/common/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/client/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/client/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/util/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/util/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/query/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/query/inc
)
...
...
src/kit/taosdump/taosdump.c
浏览文件 @
d3720a80
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
#include "taos.h"
#include "taos.h"
#include "taosmsg.h"
#include "taosmsg.h"
#include "tglobal.h"
#include "tsclient.h"
#include "tsclient.h"
#include "taosdef.h"
#include "taosdef.h"
#include "tutil.h"
#include "tutil.h"
...
@@ -360,7 +359,7 @@ int main(int argc, char *argv[]) {
...
@@ -360,7 +359,7 @@ int main(int argc, char *argv[]) {
void
taosFreeDbInfos
()
{
void
taosFreeDbInfos
()
{
if
(
dbInfos
==
NULL
)
return
;
if
(
dbInfos
==
NULL
)
return
;
for
(
int
i
=
0
;
i
<
tsMaxDbs
;
i
++
)
tfree
(
dbInfos
[
i
]);
for
(
int
i
=
0
;
i
<
TSDB_MAX_DBS
;
i
++
)
tfree
(
dbInfos
[
i
]);
tfree
(
dbInfos
);
tfree
(
dbInfos
);
}
}
...
@@ -440,7 +439,7 @@ int taosDumpOut(struct arguments *arguments) {
...
@@ -440,7 +439,7 @@ int taosDumpOut(struct arguments *arguments) {
return
-
1
;
return
-
1
;
}
}
dbInfos
=
(
SDbInfo
**
)
calloc
(
tsMaxDbs
,
sizeof
(
SDbInfo
*
));
dbInfos
=
(
SDbInfo
**
)
calloc
(
TSDB_MAX_DBS
,
sizeof
(
SDbInfo
*
));
if
(
dbInfos
==
NULL
)
{
if
(
dbInfos
==
NULL
)
{
fprintf
(
stderr
,
"failed to allocate memory
\n
"
);
fprintf
(
stderr
,
"failed to allocate memory
\n
"
);
goto
_exit_failure
;
goto
_exit_failure
;
...
@@ -1330,4 +1329,4 @@ _exit_no_charset:
...
@@ -1330,4 +1329,4 @@ _exit_no_charset:
*
fcharset
=
'\0'
;
*
fcharset
=
'\0'
;
tfree
(
line
);
tfree
(
line
);
return
;
return
;
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录