Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
175cbfb8
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
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看板
提交
175cbfb8
编写于
2月 28, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
common
上级
5101c057
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
43 addition
and
33 deletion
+43
-33
source/common/src/tdataformat.c
source/common/src/tdataformat.c
+3
-4
source/common/src/tep.c
source/common/src/tep.c
+0
-1
source/common/src/tglobal.c
source/common/src/tglobal.c
+1
-6
source/common/src/tmsg.c
source/common/src/tmsg.c
+1
-0
source/common/src/tmsgtype.c
source/common/src/tmsgtype.c
+1
-1
source/common/src/tname.c
source/common/src/tname.c
+16
-5
source/common/src/trow.c
source/common/src/trow.c
+1
-1
source/common/src/ttime.c
source/common/src/ttime.c
+1
-6
source/common/src/ttszip.c
source/common/src/ttszip.c
+16
-2
source/common/src/ttypes.c
source/common/src/ttypes.c
+1
-2
source/common/src/tvariant.c
source/common/src/tvariant.c
+2
-5
未找到文件。
source/common/src/tdataformat.c
浏览文件 @
175cbfb8
...
...
@@ -12,11 +12,10 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "tdataformat.h"
#include "talgo.h"
#include "tcoding.h"
#include "wchar.h"
#include "tarray.h"
#include "tcoding.h"
#include "tlog.h"
static
void
dataColSetNEleNull
(
SDataCol
*
pCol
,
int
nEle
);
...
...
source/common/src/tep.c
浏览文件 @
175cbfb8
...
...
@@ -17,7 +17,6 @@
#include "tep.h"
#include "tcompare.h"
#include "tglobal.h"
#include "tlockfree.h"
int32_t
taosGetFqdnPortFromEp
(
const
char
*
ep
,
SEp
*
pEp
)
{
pEp
->
port
=
0
;
...
...
source/common/src/tglobal.c
浏览文件 @
175cbfb8
...
...
@@ -14,16 +14,11 @@
*/
#define _DEFAULT_SOURCE
#include "os.h"
#include "taosdef.h"
#include "taoserror.h"
#include "tglobal.h"
#include "tcompare.h"
#include "tconfig.h"
#include "tep.h"
#include "tglobal.h"
#include "tlog.h"
#include "tutil.h"
SConfig
*
tsCfg
=
NULL
;
...
...
source/common/src/tmsg.c
浏览文件 @
175cbfb8
...
...
@@ -13,6 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "tmsg.h"
#undef TD_MSG_NUMBER_
...
...
source/common/src/tmsgtype.c
浏览文件 @
175cbfb8
...
...
@@ -13,6 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#define TSDB_SQL_C
#include "tmsgtype.h"
source/common/src/tname.c
浏览文件 @
175cbfb8
#include <common.h>
#include "os.h"
#include "tutil.h"
/*
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
*
* This program is free software: you can use, redistribute, and/or modify
* it under the terms of the GNU Affero General Public License, version 3
* or later ("AGPL"), as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "tname.h"
#include "tmsg.h"
#define VALID_NAME_TYPE(x) ((x) == TSDB_DB_NAME_T || (x) == TSDB_TABLE_NAME_T)
...
...
source/common/src/trow.c
浏览文件 @
175cbfb8
...
...
@@ -13,8 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "trow.h"
#include "tarray.h"
const
uint8_t
tdVTypeByte
[
3
]
=
{
TD_VTYPE_NORM_BYTE
,
// TD_VTYPE_NORM
...
...
source/common/src/ttime.c
浏览文件 @
175cbfb8
...
...
@@ -13,20 +13,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _BSD_SOURCE
#ifdef DARWIN
#define _XOPEN_SOURCE
#else
#define _XOPEN_SOURCE 500
#endif
#define _BSD_SOURCE
#define _DEFAULT_SOURCE
#include "os.h"
#include "taosdef.h"
#include "ttime.h"
#include "tutil.h"
/*
* mktime64 - Converts date to seconds.
...
...
source/common/src/ttszip.c
浏览文件 @
175cbfb8
/*
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
*
* This program is free software: you can use, redistribute, and/or modify
* it under the terms of the GNU Affero General Public License, version 3
* or later ("AGPL"), as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "ttszip.h"
#include <tglobal.h>
#include "taoserror.h"
#include "tcompression.h"
#include "tutil.h"
static
int32_t
getDataStartOffset
();
static
void
TSBufUpdateGroupInfo
(
STSBuf
*
pTSBuf
,
int32_t
index
,
STSGroupBlockInfo
*
pBlockInfo
);
...
...
source/common/src/ttypes.c
浏览文件 @
175cbfb8
...
...
@@ -13,9 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "ttypes.h"
#include "../../../include/client/taos.h"
#include "os.h"
#include "tcompression.h"
const
int32_t
TYPE_BYTES
[
15
]
=
{
...
...
source/common/src/tvariant.c
浏览文件 @
175cbfb8
...
...
@@ -12,14 +12,11 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os.h"
#
include "taos.h"
#include "t
aosdef
.h"
#
define _DEFAULT_SOURCE
#include "t
variant
.h"
#include "ttime.h"
#include "ttokendef.h"
#include "ttypes.h"
#include "tutil.h"
#include "tvariant.h"
#define SET_EXT_INFO(converted, res, minv, maxv, exti) \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录