Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
a74188f4
T
TDengine
项目概览
taosdata
/
TDengine
11 个月 前同步成功
通知
1179
Star
22014
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a74188f4
编写于
2月 23, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix conflicts
上级
5b698b3d
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
12 deletion
+7
-12
source/dnode/mgmt/impl/test/sut/src/sut.cpp
source/dnode/mgmt/impl/test/sut/src/sut.cpp
+1
-0
source/libs/index/test/fstUT.cc
source/libs/index/test/fstUT.cc
+2
-2
source/libs/scalar/test/filter/filterTests.cpp
source/libs/scalar/test/filter/filterTests.cpp
+1
-3
source/libs/scalar/test/scalar/scalarTests.cpp
source/libs/scalar/test/scalar/scalarTests.cpp
+1
-3
source/libs/transport/test/transUT.cc
source/libs/transport/test/transUT.cc
+2
-4
未找到文件。
source/dnode/mgmt/impl/test/sut/src/sut.cpp
浏览文件 @
a74188f4
...
...
@@ -33,6 +33,7 @@ void Testbase::InitLog(const char* path) {
taosRemoveDir
(
path
);
taosMkDir
(
path
);
tstrncpy
(
tsLogDir
,
path
,
PATH_MAX
);
if
(
taosInitLog
(
"taosdlog"
,
1
)
!=
0
)
{
printf
(
"failed to init log file
\n
"
);
}
...
...
source/libs/index/test/fstUT.cc
浏览文件 @
a74188f4
...
...
@@ -30,8 +30,8 @@ static void EnvInit() {
taosRemoveDir
(
path
.
c_str
());
taosMkDir
(
path
.
c_str
());
// init log file
snprintf
(
indexlog
,
PATH_MAX
,
"%s/tindex.idx"
,
path
.
c_str
()
);
if
(
taosInitLog
(
indexlog
,
tsNumOfLogLines
,
1
)
!=
0
)
{
tstrncpy
(
tsLogDir
,
path
.
c_str
(),
PATH_MAX
);
if
(
taosInitLog
(
"tindex.idx"
,
1
)
!=
0
)
{
printf
(
"failed to init log"
);
}
// init index file
...
...
source/libs/scalar/test/filter/filterTests.cpp
浏览文件 @
a74188f4
...
...
@@ -52,9 +52,7 @@ void flttInitLogFile() {
tsAsyncLog
=
0
;
qDebugFlag
=
159
;
char
temp
[
128
]
=
{
0
};
sprintf
(
temp
,
"%s/%s"
,
tsLogDir
,
defaultLogFileNamePrefix
);
if
(
taosInitLog
(
temp
,
tsNumOfLogLines
,
maxLogFileNum
)
<
0
)
{
if
(
taosInitLog
(
defaultLogFileNamePrefix
,
maxLogFileNum
)
<
0
)
{
printf
(
"failed to open log file in directory:%s
\n
"
,
tsLogDir
);
}
}
...
...
source/libs/scalar/test/scalar/scalarTests.cpp
浏览文件 @
a74188f4
...
...
@@ -51,9 +51,7 @@ void scltInitLogFile() {
tsAsyncLog
=
0
;
qDebugFlag
=
159
;
char
temp
[
128
]
=
{
0
};
sprintf
(
temp
,
"%s/%s"
,
tsLogDir
,
defaultLogFileNamePrefix
);
if
(
taosInitLog
(
temp
,
tsNumOfLogLines
,
maxLogFileNum
)
<
0
)
{
if
(
taosInitLog
(
defaultLogFileNamePrefix
,
maxLogFileNum
)
<
0
)
{
printf
(
"failed to open log file in directory:%s
\n
"
,
tsLogDir
);
}
}
...
...
source/libs/transport/test/transUT.cc
浏览文件 @
a74188f4
...
...
@@ -148,7 +148,6 @@ class TransObj {
wDebugFlag
=
0
;
sDebugFlag
=
0
;
tsdbDebugFlag
=
0
;
cqDebugFlag
=
0
;
tscEmbeddedInUtil
=
1
;
tsAsyncLog
=
0
;
...
...
@@ -156,9 +155,8 @@ class TransObj {
taosRemoveDir
(
path
.
c_str
());
taosMkDir
(
path
.
c_str
());
char
temp
[
PATH_MAX
];
snprintf
(
temp
,
PATH_MAX
,
"%s/taosdlog"
,
path
.
c_str
());
if
(
taosInitLog
(
temp
,
tsNumOfLogLines
,
1
)
!=
0
)
{
tstrncpy
(
tsLogDir
,
path
.
c_str
(),
PATH_MAX
);
if
(
taosInitLog
(
"taosdlog"
,
1
)
!=
0
)
{
printf
(
"failed to init log file
\n
"
);
}
cli
=
new
Client
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录