Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
7293ebe8
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7293ebe8
编写于
4月 23, 2020
作者:
L
lihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TD-192]
上级
dcb309ce
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
9 addition
and
8 deletion
+9
-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
+4
-4
未找到文件。
packaging/tools/makepkg.sh
浏览文件 @
7293ebe8
...
@@ -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
浏览文件 @
7293ebe8
...
@@ -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
浏览文件 @
7293ebe8
...
@@ -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
浏览文件 @
7293ebe8
...
@@ -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
浏览文件 @
7293ebe8
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include "taos.h"
#include "taos.h"
#include "taosmsg.h"
#include "taosmsg.h"
#include "tglobal.h"
//
#include "tglobal.h"
#include "tsclient.h"
#include "tsclient.h"
#include "taosdef.h"
#include "taosdef.h"
#include "tutil.h"
#include "tutil.h"
...
@@ -360,7 +360,7 @@ int main(int argc, char *argv[]) {
...
@@ -360,7 +360,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 +440,7 @@ int taosDumpOut(struct arguments *arguments) {
...
@@ -440,7 +440,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
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录