Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
f1e19aae
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1185
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f1e19aae
编写于
8月 11, 2020
作者:
H
Hui Li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[fix bug]
上级
99753ae0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
16 addition
and
8 deletion
+16
-8
packaging/tools/install_client.sh
packaging/tools/install_client.sh
+7
-3
packaging/tools/remove.sh
packaging/tools/remove.sh
+4
-2
packaging/tools/remove_client.sh
packaging/tools/remove_client.sh
+4
-2
src/dnode/src/dnodeCheck.c
src/dnode/src/dnodeCheck.c
+1
-1
未找到文件。
packaging/tools/install_client.sh
浏览文件 @
f1e19aae
...
...
@@ -31,6 +31,7 @@ cfg_install_dir="/etc/taos"
if
[
"
$osType
"
!=
"Darwin"
]
;
then
bin_link_dir
=
"/usr/bin"
lib_link_dir
=
"/usr/lib"
lib64_link_dir
=
"/usr/lib64"
inc_link_dir
=
"/usr/include"
else
bin_link_dir
=
"/usr/local/bin"
...
...
@@ -45,7 +46,7 @@ install_main_dir="/usr/local/taos"
bin_dir
=
"/usr/local/taos/bin"
# v1.5 jar dir
v15_java_app_dir
=
"/usr/local/lib/taos"
#
v15_java_app_dir="/usr/local/lib/taos"
# Color setting
RED
=
'\033[0;31m'
...
...
@@ -90,7 +91,7 @@ function install_bin() {
${
csudo
}
cp
-r
${
script_dir
}
/bin/
*
${
install_main_dir
}
/bin
&&
${
csudo
}
chmod
0555
${
install_main_dir
}
/bin/
*
#Make link
#Make link
[
-x
${
install_main_dir
}
/bin/taos
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taos
${
bin_link_dir
}
/taos
||
:
if
[
"
$osType
"
==
"Darwin"
]
;
then
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
...
...
@@ -106,13 +107,16 @@ function clean_lib() {
function
install_lib
()
{
# Remove links
${
csudo
}
rm
-f
${
lib_link_dir
}
/libtaos.
*
||
:
${
csudo
}
rm
-rf
${
v15_java_app_dir
}
||
:
${
csudo
}
rm
-f
${
lib64_link_dir
}
/libtaos.
*
||
:
#${csudo} rm -rf ${v15_java_app_dir} || :
${
csudo
}
cp
-rf
${
script_dir
}
/driver/
*
${
install_main_dir
}
/driver
&&
${
csudo
}
chmod
777
${
install_main_dir
}
/driver/
*
if
[
"
$osType
"
!=
"Darwin"
]
;
then
${
csudo
}
ln
-s
${
install_main_dir
}
/driver/libtaos.
*
${
lib_link_dir
}
/libtaos.so.1
${
csudo
}
ln
-s
${
lib_link_dir
}
/libtaos.so.1
${
lib_link_dir
}
/libtaos.so
${
csudo
}
ln
-s
${
install_main_dir
}
/driver/libtaos.
*
${
lib64_link_dir
}
/libtaos.so.1
||
:
${
csudo
}
ln
-s
${
lib64_link_dir
}
/libtaos.so.1
${
lib64_link_dir
}
/libtaos.so
||
:
else
${
csudo
}
ln
-s
${
install_main_dir
}
/driver/libtaos.
*
${
lib_link_dir
}
/libtaos.1.dylib
${
csudo
}
ln
-s
${
lib_link_dir
}
/libtaos.1.dylib
${
lib_link_dir
}
/libtaos.dylib
...
...
packaging/tools/remove.sh
浏览文件 @
f1e19aae
...
...
@@ -18,11 +18,12 @@ log_link_dir="/usr/local/taos/log"
cfg_link_dir
=
"/usr/local/taos/cfg"
bin_link_dir
=
"/usr/bin"
lib_link_dir
=
"/usr/lib"
lib64_link_dir
=
"/usr/lib64"
inc_link_dir
=
"/usr/include"
install_nginxd_dir
=
"/usr/local/nginxd"
# v1.5 jar dir
v15_java_app_dir
=
"/usr/local/lib/taos"
#
v15_java_app_dir="/usr/local/lib/taos"
service_config_dir
=
"/etc/systemd/system"
taos_service_name
=
"taosd"
...
...
@@ -78,7 +79,8 @@ function clean_bin() {
function
clean_lib
()
{
# Remove link
${
csudo
}
rm
-f
${
lib_link_dir
}
/libtaos.
*
||
:
${
csudo
}
rm
-rf
${
v15_java_app_dir
}
||
:
${
csudo
}
rm
-f
${
lib64_link_dir
}
/libtaos.
*
||
:
#${csudo} rm -rf ${v15_java_app_dir} || :
}
function
clean_header
()
{
...
...
packaging/tools/remove_client.sh
浏览文件 @
f1e19aae
...
...
@@ -15,11 +15,12 @@ log_link_dir="/usr/local/taos/log"
cfg_link_dir
=
"/usr/local/taos/cfg"
bin_link_dir
=
"/usr/bin"
lib_link_dir
=
"/usr/lib"
lib64_link_dir
=
"/usr/lib64"
inc_link_dir
=
"/usr/include"
# v1.5 jar dir
v15_java_app_dir
=
"/usr/local/lib/taos"
#
v15_java_app_dir="/usr/local/lib/taos"
csudo
=
""
if
command
-v
sudo
>
/dev/null
;
then
...
...
@@ -43,7 +44,8 @@ function clean_bin() {
function
clean_lib
()
{
# Remove link
${
csudo
}
rm
-f
${
lib_link_dir
}
/libtaos.
*
||
:
${
csudo
}
rm
-rf
${
v15_java_app_dir
}
||
:
${
csudo
}
rm
-f
${
lib64_link_dir
}
/libtaos.
*
||
:
#${csudo} rm -rf ${v15_java_app_dir} || :
}
function
clean_header
()
{
...
...
src/dnode/src/dnodeCheck.c
浏览文件 @
f1e19aae
...
...
@@ -173,7 +173,7 @@ static int dnodeCheckDatafile() {
}
static
void
dnodeAllocCheckItem
()
{
tsCheckItem
[
TSDB_CHECK_ITEM_NETWORK
].
enable
=
tru
e
;
tsCheckItem
[
TSDB_CHECK_ITEM_NETWORK
].
enable
=
fals
e
;
tsCheckItem
[
TSDB_CHECK_ITEM_NETWORK
].
name
=
"network"
;
tsCheckItem
[
TSDB_CHECK_ITEM_NETWORK
].
initFp
=
NULL
;
tsCheckItem
[
TSDB_CHECK_ITEM_NETWORK
].
cleanUpFp
=
NULL
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录