Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
ce393e4d
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看板
提交
ce393e4d
编写于
12月 13, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add release compile flags
上级
67d25a29
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
4 deletion
+6
-4
cmake/define.inc
cmake/define.inc
+1
-1
cmake/env.inc
cmake/env.inc
+2
-0
src/client/src/tscLocal.c
src/client/src/tscLocal.c
+1
-1
src/common/src/tvariant.c
src/common/src/tvariant.c
+1
-1
src/plugins/http/src/httpServer.c
src/plugins/http/src/httpServer.c
+1
-1
未找到文件。
cmake/define.inc
浏览文件 @
ce393e4d
...
...
@@ -106,7 +106,7 @@ IF (TD_LINUX)
ENDIF
()
SET
(
DEBUG_FLAGS
"-O0 -g3 -DDEBUG"
)
SET
(
RELEASE_FLAGS
"-Og -Wno-unused-
variable -Wunused-but-set-variable
"
)
SET
(
RELEASE_FLAGS
"-Og -Wno-unused-
result -Wno-unused-variable -Wno-unused-but-set-variable -Wno-format-truncation -Wno-maybe-uninitialized -Wno-format-overflow
"
)
IF
(
$
{
COVER
}
MATCHES
"true"
)
MESSAGE
(
STATUS
"Test coverage mode, add extra flags"
)
...
...
cmake/env.inc
浏览文件 @
ce393e4d
...
...
@@ -41,8 +41,10 @@ SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${COMMON_FLAGS} ${RELEASE_FL
# SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${COMMON_CXX_FLAGS} ${RELEASE_FLAGS}")
IF
(
$
{
CMAKE_BUILD_TYPE
}
MATCHES
"Debug"
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
)
MESSAGE
(
STATUS
"Build Debug Version"
)
ELSEIF
(
$
{
CMAKE_BUILD_TYPE
}
MATCHES
"Release"
)
SET
(
CMAKE_BUILD_TYPE
"Release"
)
MESSAGE
(
STATUS
"Build Release Version"
)
ELSE
()
IF
(
TD_WINDOWS
)
...
...
src/client/src/tscLocal.c
浏览文件 @
ce393e4d
...
...
@@ -571,7 +571,7 @@ static int32_t tscRebuildDDLForSubTable(SSqlObj *pSql, const char *tableName, ch
return
TSDB_CODE_TSC_OUT_OF_MEMORY
;
}
char
fullName
[
TSDB_TABLE_FNAME_LEN
]
=
{
0
};
char
fullName
[
TSDB_TABLE_FNAME_LEN
*
2
]
=
{
0
};
extractDBName
(
pTableMetaInfo
->
name
,
fullName
);
extractTableName
(
pMeta
->
sTableId
,
param
->
sTableName
);
snprintf
(
fullName
+
strlen
(
fullName
),
TSDB_TABLE_FNAME_LEN
-
strlen
(
fullName
),
".%s"
,
param
->
sTableName
);
...
...
src/common/src/tvariant.c
浏览文件 @
ce393e4d
...
...
@@ -705,7 +705,7 @@ int32_t tVariantDump(tVariant *pVariant, char *payload, int16_t type, bool inclu
*
((
int32_t
*
)
payload
)
=
TSDB_DATA_FLOAT_NULL
;
return
0
;
}
else
{
double
value
;
double
value
=
-
1
;
int32_t
ret
;
ret
=
convertToDouble
(
pVariant
->
pz
,
pVariant
->
nLen
,
&
value
);
if
((
errno
==
ERANGE
&&
(
float
)
value
==
-
1
)
||
(
ret
!=
0
))
{
...
...
src/plugins/http/src/httpServer.c
浏览文件 @
ce393e4d
...
...
@@ -256,7 +256,7 @@ bool httpInitConnect() {
HttpThread
*
pThread
=
pServer
->
pThreads
;
for
(
int32_t
i
=
0
;
i
<
pServer
->
numOfThreads
;
++
i
)
{
s
printf
(
pThread
->
label
,
"%s%d"
,
pServer
->
label
,
i
);
s
nprintf
(
pThread
->
label
,
HTTP_LABEL_SIZE
,
"%s%d"
,
pServer
->
label
,
i
);
pThread
->
processData
=
pServer
->
processData
;
pThread
->
threadId
=
i
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录