Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
492c9998
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看板
提交
492c9998
编写于
5月 20, 2020
作者:
S
slguan
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' into hotfix/boundary
上级
cd289b99
ce03da88
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
21 addition
and
21 deletion
+21
-21
src/util/src/tutil.c
src/util/src/tutil.c
+3
-3
tests/pytest/import_merge/importBlock1H.py
tests/pytest/import_merge/importBlock1H.py
+1
-1
tests/pytest/import_merge/importBlock1HO.py
tests/pytest/import_merge/importBlock1HO.py
+1
-1
tests/pytest/import_merge/importBlock1HPO.py
tests/pytest/import_merge/importBlock1HPO.py
+1
-1
tests/pytest/import_merge/importBlock1S.py
tests/pytest/import_merge/importBlock1S.py
+1
-1
tests/pytest/import_merge/importBlock1Sub.py
tests/pytest/import_merge/importBlock1Sub.py
+1
-1
tests/pytest/import_merge/importBlock1T.py
tests/pytest/import_merge/importBlock1T.py
+1
-1
tests/pytest/import_merge/importBlock1TO.py
tests/pytest/import_merge/importBlock1TO.py
+1
-1
tests/pytest/import_merge/importBlock1TPO.py
tests/pytest/import_merge/importBlock1TPO.py
+1
-1
tests/pytest/import_merge/importBlock2H.py
tests/pytest/import_merge/importBlock2H.py
+1
-1
tests/pytest/import_merge/importBlock2HO.py
tests/pytest/import_merge/importBlock2HO.py
+1
-1
tests/pytest/import_merge/importBlock2HPO.py
tests/pytest/import_merge/importBlock2HPO.py
+1
-1
tests/pytest/import_merge/importBlock2S.py
tests/pytest/import_merge/importBlock2S.py
+1
-1
tests/pytest/import_merge/importBlock2Sub.py
tests/pytest/import_merge/importBlock2Sub.py
+1
-1
tests/pytest/import_merge/importBlock2T.py
tests/pytest/import_merge/importBlock2T.py
+1
-1
tests/pytest/import_merge/importBlock2TO.py
tests/pytest/import_merge/importBlock2TO.py
+1
-1
tests/pytest/import_merge/importBlock2TPO.py
tests/pytest/import_merge/importBlock2TPO.py
+1
-1
tests/pytest/import_merge/importBlockbetween.py
tests/pytest/import_merge/importBlockbetween.py
+1
-1
tests/pytest/import_merge/importToCommit.py
tests/pytest/import_merge/importToCommit.py
+1
-1
未找到文件。
src/util/src/tutil.c
浏览文件 @
492c9998
...
...
@@ -416,12 +416,12 @@ void getTmpfilePath(const char *fileNamePrefix, char *dstPath) {
#else
char
*
tmpDir
=
"/tmp/"
;
#endif
int64_t
ts
=
taosGetTimestampUs
();
strcpy
(
tmpPath
,
tmpDir
);
strcat
(
tmpPath
,
tdengineTmpFileNamePrefix
);
strcat
(
tmpPath
,
fileNamePrefix
);
strcat
(
tmpPath
,
"-%
llu-%u"
);
snprintf
(
dstPath
,
PATH_MAX
,
tmpPath
,
taosGetPthreadId
(),
atomic_add_fetch_32
(
&
tmpFileSerialNum
,
1
)
);
strcat
(
tmpPath
,
"-%
d-%"
PRIu64
"-%u-%"
PRIu64
);
snprintf
(
dstPath
,
PATH_MAX
,
tmpPath
,
getpid
(),
taosGetPthreadId
(),
atomic_add_fetch_32
(
&
tmpFileSerialNum
,
1
),
ts
);
}
int
tasoUcs4Compare
(
void
*
f1_ucs4
,
void
*
f2_ucs4
,
int
bytes
)
{
...
...
tests/pytest/import_merge/importBlock1H.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock1HO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock1HPO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock1S.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock1Sub.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock1T.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock1TO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock1TPO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2H.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2HO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2HPO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2S.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2Sub.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2T.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2TO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlock2TPO.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importBlockbetween.py
浏览文件 @
492c9998
...
...
@@ -34,7 +34,7 @@ class TDTestCase:
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
'
)
tdSql
.
execute
(
'create database db cache
128
'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
tests/pytest/import_merge/importToCommit.py
浏览文件 @
492c9998
...
...
@@ -33,7 +33,7 @@ class TDTestCase:
tdDnodes
.
start
(
1
)
tdSql
.
execute
(
'reset query cache'
)
tdSql
.
execute
(
'drop database if exists db'
)
tdSql
.
execute
(
'create database db cache
512
maxtables 10'
)
tdSql
.
execute
(
'create database db cache
128
maxtables 10'
)
tdSql
.
execute
(
'use db'
)
tdLog
.
info
(
"================= step1"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录